schangxiang@126.com
2024-09-11 b2ab77f93465d960bd59c349efc5fc69dd4a659a
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
namespace iWare_SCADA_Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Infrastructure.MappingViews;
    using System.Data.Entity.Spatial;
 
    [Table("EquipmentCurrentMonitor")]
    public partial class EquipmentCurrentMonitor
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
 
        [Required]
        [StringLength(32)]
        public string EquipmentID { get; set; }
 
        [StringLength(32)]
        public string EquipmentCurrentState { get; set; }
 
        [StringLength(32)]
        public string WorkingProcedure { get; set; }
 
        [StringLength(32)]
        public string WorkPieceID { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? OnlineTime { get; set; }
 
        public int? WorkTime { get; set; }
 
        public int? KnifeToolLife { get; set; }
 
        [StringLength(32)]
        public string SpindleCurrent { get; set; }
 
        [StringLength(32)]
        public string SpindleTorque { get; set; }
 
        [StringLength(32)]
        public string SpindleLoad { get; set; }
 
        [Column(TypeName = "datetime2")]
        public DateTime? AlertTime { get; set; }
 
        public string Alertmsg { 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; }
 
        public string FailureType { get; set; }
        public string WarnType { get; set; }
        public DateTime? WarnTime { get; set; }
        public string Warnmsg { get; set; }
 
        /// <summary>
        /// ¸æ¾¯ÊÇ·ñ¹Ø±Õ
        /// </summary>
        public bool IsCloseAlert { get; set; } = false;
    }
}