using SqlSugar; using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; using WCS.Entity.Protocol.RGV; namespace WCS.Entity.Protocol.HUB { /// /// 设备运行信息 /// [DataContract] [SugarTable("FJ_DevAlarmInfo")] public class DevAlarmInfo : QuestDBBaseEntity { public DevAlarmInfo() { } public DevAlarmInfo(string alarm, DateTime startTime, DateTime endTime, long duration, string type, string code, DateTime frame) { Alarm = alarm; StartTime = startTime; EndTime = endTime; Duration = duration; Type = type; Code = code; Frame = frame; } /// /// 运行模式 /// [SugarColumn(ColumnDataType = "symbol")] public string Alarm { get; set; } /// /// 开始时间 /// public DateTime StartTime { get; set; } /// /// 结束时间 /// public DateTime EndTime { get; set; } /// /// 总时长 /// public long Duration { get; set; } /// /// 类型 /// [SugarColumn(ColumnDataType = "symbol")] public string Type { get; set; } } }