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 MeasureListSetModel { /// /// 绘制属性树状图 /// [XmlArrayAttribute("AttributeMapDrawNodes")] public List AttributeMapDrawNodes { get; set; } /// /// 绘制属性(元素)树状图 /// [XmlArrayAttribute("AttributeMapAllDrawNodes")] public List AttributeMapAllDrawNodes { get; set; } /// /// 数据属性树状图 /// [XmlArrayAttribute("AttributeMapDataNodes")] public List AttributeMapDataNodes { get; set; } /// /// 数据属性(元素)树状图 /// [XmlArrayAttribute("AttributeMapAllDataNodes")] public List AttributeMapAllDataNodes { get; set; } public class FirstNode { /// /// 测量分类 /// [XmlElement("Name")] public string Name { get; set; } /// /// 属性List /// [XmlArrayAttribute("Attribute")] public List Attribute { get; set; } public class SecondNode { /// /// 测量分类Text /// [XmlElement("Text")] public string Text { get; set; } /// /// 测量分类Name /// [XmlElement("Name")] public string Name { get; set; } /// /// 属性List /// [XmlArrayAttribute("Attribute")] public List Attribute { get; set; } public class Item { /// /// 属性节点Text /// [XmlElement("Text")] public string Text { get; set; } /// /// 属性节点Name /// [XmlElement("Name")] public string Name { get; set; } } } } } }