EquipmentDataRecord.cs
2.26 KB
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
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HHECS.Model.Entities
{
[Table("equipmentdatarecord")]
public class EquipmentDataRecord : BaseEntityCU<int>
{
/// <summary>
/// 设备编码,唯一且有规律易识别
/// </summary>
[Column(Order = 2)]
[MaxLength(50)]
[Required]
public string Code { get; set; }
/// <summary>
/// 设备名
/// </summary>
[Column(Order = 3)]
[MaxLength(50)]
[Required]
public string Name { get; set; }
/// <summary>
/// 关联到设备类型Id
/// </summary>
[Column(Order = 4)]
[MaxLength(50)]
[Required]
public string IP { get; set; }
/// <summary>
/// 联机手动等状态
/// </summary>
[Column(Order = 5)]
[MaxLength(20)]
public string Status { get; set; }
/// <summary>
/// 是否在线
/// </summary>
[Column(Order = 6)]
[MaxLength(20)]
public bool Online { get; set; }
/// <summary>
/// 行走电机振速(mm/s)
/// </summary>
[Column(Order = 5)]
public float WalkVibrationVelocity { get; set; }
/// <summary>
/// 行走电机温度(℃)
/// </summary>
[Column(Order = 5)]
public float WalkTemperature { get; set; }
/// <summary>
/// 升降电机振速(mm/s)
/// </summary>
[Column(Order = 5)]
public float LiftVibrationVelocity { get; set; }
/// <summary>
/// 升降电机温度(℃)
/// </summary>
[Column(Order = 5)]
public float LiftTemperature { get; set; }
/// <summary>
/// 运行电流
/// </summary>
[Column(Order = 5)]
public float runCurrent { get; set; }
/// <summary>
/// 升降电流
/// </summary>
[Column(Order = 5)]
public float liftCurrent { get; set; }
/// <summary>
/// 设备所属仓库
/// </summary>
[Column(Order = 34)]
[MaxLength(50)]
public string WarehouseCode { get; set; }
}
}