hwh
2025-02-10 b16c4927b99063f463f83f855c53fb0af8440072
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
 
namespace WCS.Application;
 
/// <summary>
/// 设备信息表
/// </summary>
[SugarTable("WCSPLCDevice", "设备信息表")]
public class WcsDevice : EntityBaseData
{
    /// <summary>
    /// PlcId
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "PlcId", ColumnDescription = "PlcId")]
    public long PlcId { get; set; }
 
    /// <summary>
    /// 交互类型
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "DeviceType", ColumnDescription = "交互类型")]
    public DeviceTypeEnum DeviceType { get; set; }
 
    /// <summary>
    /// 设备级别
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Level", ColumnDescription = "设备级别")]
    public DeviceLevelEnum Level { get; set; }
 
    /// <summary>
    /// DB区域
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "DbNumber", ColumnDescription = "DB区域", Length = 10)]
    public string DbNumber { get; set; }
 
    /// <summary>
    /// 工位号
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "StationNum", ColumnDescription = "工位号", Length = 4)]
    public string StationNum { get; set; }
 
    /// <summary>
    /// PLC偏移量
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "PlcPos", ColumnDescription = "PLC偏移量", Length = 10)]
    public string PlcPos { get; set; }
 
    /// <summary>
    /// WCS偏移量
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "WcsPos", ColumnDescription = "WCS偏移量", Length = 10)]
    public string WcsPos { get; set; }
 
    /// <summary>
    /// 流程字类型
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "PosType", ColumnDescription = "流程字类型")]
    public PLCDataTypeEnum PosType { get; set; }
 
    /// <summary>
    /// 显示屏ip地址
    /// </summary>
    [SugarColumn(ColumnName = "LedIP", ColumnDescription = "显示屏ip地址", Length = 50)]
    public string? LedIP { get; set; }
 
    /// <summary>
    /// 描述
    /// </summary>
    [SugarColumn(ColumnName = "Text", ColumnDescription = "描述", Length = 20)]
    public string? Text { get; set; }
 
    /// <summary>
    /// 位置有物品
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public bool BoHaveItem { get; set; }
    /// <summary>
    /// 高度
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public int BoxHeight { get; set; }
    /// <summary>
    /// 目的工位
    /// </summary>
    [SugarColumn(IsIgnore = true)]
    public string EndLocat { get; set; }
}