using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace PaintDotNet.Base.SettingModel { /// /// 工件维护 /// [XmlRoot("ROOT")] public class WorkpieceMaintenanceModel { /// /// 数据属性(元素)树状图 /// [XmlArrayAttribute("AttributeMapAllDataNodes")] public List Workpieces { get; set; } public class Workpiece { /// /// 工件名称 /// [XmlElement("Name")] public string Name { get; set; } /// /// 工件类型 /// [XmlElement("Type")] public string Type { get; set; } /// /// 工件a名称 /// [XmlElement("NameA")] public string NameA { get; set; } /// /// 工件a标准值 /// [XmlElement("StandardValueA")] public string StandardValueA { get; set; } /// /// 工件a误差 /// [XmlElement("ErrorA")] public string ErrorA { get; set; } /// /// 工件B名称 /// [XmlElement("NameB")] public string NameB { get; set; } /// /// 工件B标准值 /// [XmlElement("StandardValueB")] public string StandardValueB { get; set; } /// /// 工件B误差 /// [XmlElement("ErrorB")] public string ErrorB { get; set; } /// /// 工件C名称 /// [XmlElement("NameC")] public string NameC { get; set; } /// /// 工件C标准值 /// [XmlElement("StandardValueC")] public string StandardValueC { get; set; } /// /// 工件C误差 /// [XmlElement("ErrorC")] public string ErrorC { get; set; } /// /// 工件D名称 /// [XmlElement("NameD")] public string NameD { get; set; } /// /// 工件D标准值 /// [XmlElement("StandardValueD")] public string StandardValueD { get; set; } /// /// 工件D误差 /// [XmlElement("ErrorD")] public string ErrorD { get; set; } } } }