schangxiang@126.com
2024-09-05 8e7cedac32ff2f3b73a9a832fc195311f05962fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
namespace iWare_SCADA_Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
 
    [Table("WorkPieceLog")]
    public partial class WorkPieceLog
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
 
        [StringLength(32)]
        public string WorkPieceID { get; set; }
 
        [StringLength(2)]
        public string WorkPieceIDTo1 { get; set; }
 
        [StringLength(4)]
        public string WorkPieceIDTo2 { get; set; }
 
        [StringLength(6)]
        public string WorkPieceIDTo3 { get; set; }
 
        [StringLength(2)]
        public string WorkPieceIDTo4 { get; set; }
 
        [StringLength(4)]
        public string WorkPieceIDTo5 { get; set; }
 
        [StringLength(2)]
        public string WorkPieceIDTo6 { get; set; }
 
        [StringLength(2)]
        public string WorkPieceIDTo7 { get; set; }
 
        [StringLength(32)]
        public string WorkingProcedure { get; set; }
 
 
 
        public int? QualityState { get; set; }
 
        /// <summary>
        /// ÖÊÁ¿²»ºÏ¸ñÔ­ÒòÀàÐÍ£¬Ã¶¾ÙQualityNoOkEnum ¡¾Editby shaocx,2024-06-26¡¿
        /// </summary>
        public int? QualityNoOk { get; set; }
 
        /// <summary>
        /// ÖÊÁ¿²»ºÏ¸ñÔ­Òò ¡¾Editby shaocx,2024-06-26¡¿
        /// </summary>
        public string QualityNoOkReason { get; set; }
 
        [StringLength(32)]
        public string EquipmentID { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? OnlineTime { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? OfflineTime { get; set; }
 
        public int? ProcessingDuration { get; set; }
 
        public int? MachineToolState { get; set; }
 
        public int? AlertType { get; set; }
 
        [StringLength(255)]
        public string AlertMsg { get; set; }
 
        public int? WorkPieceNumber { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? WorkPieceOnlineTime { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? WorkPieceOfflineTime { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? WorkPieceStartMachiningTime { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? WorkPieceEndMachiningTime { get; set; }
 
        [StringLength(32)]
        public string KnifeToolID { get; set; }
 
        [StringLength(32)]
        public string KnifeToolName { get; set; }
 
        [StringLength(32)]
        public string KnifeToolCode { get; set; }
 
        [StringLength(32)]
        public string KnifeToolModel { get; set; }
 
        public int? KnifeEdgeNumber { get; set; }
 
        [StringLength(32)]
        public string KnifeToolinsideID { get; set; }
 
        [StringLength(32)]
        public string KnifeWarehouseID { get; set; }
 
        [StringLength(32)]
        public string KnifePositionID { get; set; }
 
        public int? KnifeToolLife { get; set; }
 
        public int? KnifeToolEarlyWarningLife { get; set; }
 
        public int? KnifeToolSurplusLife { get; set; }
 
        [StringLength(255)]
        public string Remarks { get; set; }
 
 
        [StringLength(255)]
        public string MyRemarks { get; set; }
 
        public DateTimeOffset? CreatedTime { get; set; }
 
        public DateTimeOffset? UpdatedTime { get; set; }
 
        public long? CreatedUserId { get; set; }
 
        /// <summary>
        /// ¹¤Ðò´´½¨ÈË,ÖµµÈÓÚ CreatedUserName
        /// </summary>
        [StringLength(32)]
        public string MonitoringPoint { get; set; }
 
 
        /// <summary>
        /// ¹¤Ðò´´½¨ÈË£¬ÖµµÈÓÚMonitoringPoint
        /// </summary>
        [StringLength(50)]
        public string CreatedUserName { get; set; }
 
 
        [StringLength(50)]
        public string DataCapturePointCname { get; set; }
 
        [StringLength(50)]
        public string UpdateDataCapturePointCname { get; set; }
 
        public long? UpdatedUserId { get; set; }
 
        [StringLength(50)]
        public string UpdatedUserName { get; set; }
 
        public bool IsDeleted { get; set; }
 
 
        /// <summary>
        /// ÈÕÖ¾ÀàÐÍ
        /// </summary>
        public int? PieceLogType { get; set; }
 
        /// <summary>
        /// ÈÕÖ¾ÀàÐÍ
        /// </summary>
        [MaxLength(255)]
        public string PieceLogTypeName { get; set; }
 
    }
}