using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sln.Iot.Model.Entity { /// /// 日志上报实体类 /// public class MesReportEntity { /// /// 设备ID /// public string InterfaceID { get; set; } /// /// 设备运行状态 /// public string Status { get; set; } = "0"; /// /// 设备状态码 /// public string StatusCode { get; set; } = "0"; /// /// 良品数量 /// public int PassQuantity { get; set; } = 0; /// /// 不良品数量 /// public int FailQuantity { get; set; } = 0; /// /// 故障次数 /// public int ErrorCount { get; set; } = 0; /// /// 故障时间 /// public int ErrorTime { get; set; } = 0; /// /// 节拍时间 /// public int CycleTime { get; set; } = 0; /// /// 运行时间 /// public int RunningTime { get; set; } = 0; /// /// 等待时间 /// public int WaitingTime { get; set; } = 10000; /// /// 投入数量 /// public int InputQuantity { get; set; } = 0; /// /// 条码数据 /// public string Barcode { get; set; } = "Unknow"; /// /// 产品型号 /// public string Cya { get; set; } = "灌胶固化线"; /// /// 上次故障时间 /// public DateTime LastErrorTime { get; set; } /// /// 现在是否故障 /// public bool IsError { get; set; } } }