| | |
| | | /// 报警信息表 |
| | | /// </summary> |
| | | [SugarTable("WCSAlarmInfo","报警信息表")] |
| | | public class WcsAlarmInfo : EntityBaseData |
| | | public class WcsAlarmInfo : EntityBaseData |
| | | { |
| | | /// <summary> |
| | | /// PLCIP地址 |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PlcIP", ColumnDescription = "PLCIP地址", Length = 20)] |
| | | public string? PlcIP { get; set; } |
| | | public string PlcIP { get; set; } |
| | | |
| | | /// <summary> |
| | | /// PLCIP地址 |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "PlcPort", ColumnDescription = "PLCIP地址")] |
| | | public int PlcPort { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工位号 |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "StationNum", ColumnDescription = "工位号", Length = 4)] |
| | | public string StationNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 报警编号 |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(ColumnName = "AlarmCode", ColumnDescription = "报警编号", Length = 20)] |
| | | public string? AlarmCode { get; set; } |
| | | public string AlarmCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 报警描述 |
| | |
| | | /// 设备类型 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "Type", ColumnDescription = "设备类型", Length = 20)] |
| | | public string? Type { get; set; } |
| | | public PLCTypeEnum Type { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 报警日期 |