namespace WCS.Application; /// /// 报警信息表 /// [SugarTable("WCSAlarmInfo","报警信息表")] public class WcsAlarmInfo : EntityBaseData { /// /// PLCIP地址 /// [Required] [SugarColumn(ColumnName = "PlcIP", ColumnDescription = "PLCIP地址", Length = 20)] public string PlcIP { get; set; } /// /// PLCIP地址 /// [Required] [SugarColumn(ColumnName = "PlcPort", ColumnDescription = "PLCIP地址")] public int PlcPort { get; set; } /// /// 工位号 /// [Required] [SugarColumn(ColumnName = "StationNum", ColumnDescription = "工位号", Length = 4)] public string StationNum { get; set; } /// /// 报警编号 /// [Required] [SugarColumn(ColumnName = "AlarmCode", ColumnDescription = "报警编号", Length = 20)] public string AlarmCode { get; set; } /// /// 报警描述 /// [SugarColumn(ColumnName = "AlarmName", ColumnDescription = "报警描述", Length = 100)] public string? AlarmName { get; set; } /// /// 显示屏ip地址 /// [SugarColumn(ColumnName = "LedIP", ColumnDescription = "显示屏ip地址", Length = 20)] public string? LedIP { get; set; } /// /// 状态 /// [SugarColumn(ColumnName = "Status", ColumnDescription = "状态")] public YesNoEnum? Status { get; set; } = YesNoEnum.N; /// /// 设备类型 /// [SugarColumn(ColumnName = "Type", ColumnDescription = "设备类型", Length = 20)] public PLCTypeEnum Type { get; set; } /// /// 报警日期 /// [SugarColumn(ColumnName = "AlarmTime", ColumnDescription = "报警日期")] public DateTime? AlarmTime { get; set; } /// /// LED状态 /// [SugarColumn(ColumnName = "LedStatus", ColumnDescription = "LED状态")] public int? LedStatus { get; set; } }