using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace XImagingXhandler.XDAL { public class MethodMsg { public MethodMsg(string methodmsg_id, string methodmsg_machine_id, int methodmsg_type, string methodmsg_experiment_id, string methodmsg_methodname, string error_code, string error_text, int troubleshoot, int slovetype) { this.methodmsg_id = methodmsg_id; this.methodmsg_machine_id = methodmsg_machine_id; this.methodmsg_type = methodmsg_type; this.methodmsg_experiment_id = methodmsg_experiment_id; this.methodmsg_methodname = methodmsg_methodname; this.error_code = error_code; this.error_text = error_text; this.troubleshoot = troubleshoot; this.slovetype = slovetype; } /// /// 消息Id /// public string methodmsg_id { get; set; } /// /// 设备Id /// public string methodmsg_machine_id { get; set; } /// /// 消息类别 /// public int methodmsg_type { get; set; } /// /// 实验Id /// public string methodmsg_experiment_id { get; set; } /// /// 实验执行的方法 /// public string methodmsg_methodname { get; set; } /// /// 错误消息编号 /// public string error_code { get; set; } /// /// 错误消息内容 /// public string error_text { get; set; } /// /// 排查故障 /// public int troubleshoot { get; set; } /// /// 解决方式 /// public int slovetype { get; set; } = 0; } }