namespace WCS.Application; /// /// 设备信息表 /// [SugarTable("WCSPLCDevice","设备信息表")] public class WcsDevice : EntityBaseData { /// /// PlcId /// [Required] [SugarColumn(ColumnName = "PlcId", ColumnDescription = "PlcId")] public long PlcId { get; set; } /// /// 设备级别 /// [Required] [SugarColumn(ColumnName = "Level", ColumnDescription = "设备级别")] public DeviceLevelEnum Level { get; set; } /// /// DB区域 /// [Required] [SugarColumn(ColumnName = "DbNumber", ColumnDescription = "DB区域", Length = 10)] public string DbNumber { get; set; } /// /// 工位号 /// [Required] [SugarColumn(ColumnName = "StationNum", ColumnDescription = "工位号", Length = 4)] public string StationNum { get; set; } /// /// PLC偏移量 /// [Required] [SugarColumn(ColumnName = "PlcPos", ColumnDescription = "PLC偏移量", Length = 10)] public string PlcPos { get; set; } /// /// WCS偏移量 /// [Required] [SugarColumn(ColumnName = "WcsPos", ColumnDescription = "WCS偏移量", Length = 10)] public string WcsPos { get; set; } /// /// 流程字类型 /// [Required] [SugarColumn(ColumnName = "PosType", ColumnDescription = "流程字类型")] public PLCDataTypeEnum PosType { get; set; } /// /// 显示屏ip地址 /// [SugarColumn(ColumnName = "LedIP", ColumnDescription = "显示屏ip地址", Length = 50)] public string? LedIP { get; set; } /// /// 描述 /// [SugarColumn(ColumnName = "Text", ColumnDescription = "描述", Length = 20)] public string? Text { get; set; } }