using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace Metis.AutoAnalysis { [XmlRoot("ROOT")] public class AutoAnalyzeSettingModel { /// /// 模板路径 /// [XmlElement("modulePath")] public string modulePath { get; set; } /// /// 存储路径 /// [XmlElement("savePath")] public string savePath { get; set; } /// /// 客户名称 /// [XmlElement("customerName")] public string customerName { get; set; } /// /// 联系方式 /// [XmlElement("telephone")] public string telephone { get; set; } /// /// 样品名称 /// [XmlElement("sampleName")] public string sampleName { get; set; } /// /// 样品说明 /// [XmlElement("sampleDescription")] public string sampleDescription { get; set; } /// /// 检测项目 /// [XmlElement("checkItem")] public string checkItem { get; set; } /// /// 方法标准 /// [XmlElement("methodStandard")] public string methodStandard { get; set; } /// /// 接收日期 /// [XmlElement("receiveDate")] public DateTime receiveDate { get; set; } /// /// 检测日期 /// [XmlElement("checkDate")] public DateTime checkDate { get; set; } /// /// 报告日期 /// [XmlElement("reportDate")] public DateTime reportDate { get; set; } /// /// 报告编号 /// [XmlElement("reportNumber")] public string reportNumber { get; set; } /// /// 检测区域 /// [XmlElement("checkRegion")] public string checkRegion { get; set; } /// /// 检测环境 /// [XmlElement("checkEnvironment")] public string checkEnvironment { get; set; } /// /// 分类名 /// [XmlElement("analyzeClassify")] public string analyzeClassify { get; set; } public AutoAnalyzeSettingModel Clone() { AutoAnalyzeSettingModel a = new AutoAnalyzeSettingModel(); a.analyzeClassify = this.analyzeClassify; a.checkDate = this.checkDate; a.checkEnvironment = this.checkEnvironment; a.checkItem = this.checkItem; a.checkRegion = this.checkRegion; a.customerName = this.customerName; a.methodStandard = this.methodStandard; a.modulePath = this.modulePath; a.receiveDate = this.receiveDate; a.reportDate = this.reportDate; a.reportNumber = this.reportNumber; a.sampleDescription = this.sampleDescription; a.sampleName = this.sampleName; a.savePath = this.savePath; a.telephone = this.telephone; return a; } } }