using System; using System.Collections.Generic; using System.Text; namespace DllEapEntity.LiteOn { /// /// 光宝卡夫卡设备报警上传实体 /// public class EqpAlarm { /// /// 设备编号(必填) /// public string eqpname { get; set; } /// /// 时间戳(必填) /// public int timestamp { get; set; } /// /// 报警代码(0为正常 必填) /// public string alert_code { get; set; } /// /// 报警描述 /// public string alert_msg { get; set; } /// /// 当前批号 /// public string cur_lotid { get; set; } = "none"; /// /// 当前程序 /// public string cur_recipe { get; set; } = "none"; /// /// 当前机种 /// public string cur_product { get; set; } = "none"; /// /// 详细错误记录 /// public EqpAlarmDetail detail_info { get; set; } } public class EqpAlarmDetail { public EqpAlarmDetailData data { get; set; } } public class EqpAlarmDetailData { /// /// 报警代码 /// public string alarm_code { get; set; } /// /// 报警描述 /// public string alarm_msg { get; set; } public string prog_name { get; set; } public string department { get; set; } public string dev_id { get; set; } public int time { get; set; } public string type { get; set; } = "alarm"; } }