chengsc
2025-04-28 e3a4181b4e107c8d2dc13f489ec62af28451bf3a
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
 
namespace WCS.Application;
 
/// <summary>
/// 工位对应的流程字表
/// </summary>
[SugarTable("WCSPLCPosition", "工位对应的流程字表")]
public class WcsPosition : EntityBaseData
{
    /// <summary>
    /// 设备ID
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "DeviceId", ColumnDescription = "设备ID")]
    public long DeviceId { get; set; }
 
    /// <summary>
    /// 工位号
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "StationNum", ColumnDescription = "工位号", Length = 4)]
    public string StationNum { get; set; }
 
    /// <summary>
    /// 偏移量
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "PlcPos", ColumnDescription = "偏移量", Length = 32)]
    public string PlcPos { get; set; }
 
    /// <summary>
    /// 流程字类型
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "PosType", ColumnDescription = "流程字类型")]
    public PLCDataTypeEnum PosType { get; set; }
 
    /// <summary>
    /// 字符串长度
    /// </summary>
    [SugarColumn(ColumnName = "StringLength", ColumnDescription = "字符串长度")]
    public int? StringLength { 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; }
    
}