liuying
2024-11-01 2af7049b8706232b9db59d5be5a08b49285024fc
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
namespace iWare_SCADA_Model.test
{
    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; }
 
        [Required]
        [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; }
 
        [StringLength(32)]
        public string MonitoringPoint { get; set; }
 
        public int? QualityState { 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; }
 
        public DateTimeOffset? CreatedTime { get; set; }
 
        public DateTimeOffset? UpdatedTime { get; set; }
 
        public long? CreatedUserId { get; set; }
 
        [StringLength(50)]
        public string CreatedUserName { get; set; }
 
        public long? UpdatedUserId { get; set; }
 
        [StringLength(50)]
        public string UpdatedUserName { get; set; }
 
        public bool IsDeleted { get; set; }
    }
}