using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace PaintDotNet.Base.Functionodel { /// /// 颗粒统计-条件 /// [XmlRoot("ROOT")] public class DebrisSelectionModel { /// /// 记录列表 /// [XmlArrayAttribute("debrisSelectionList")] public List debrisSelectionList{ get; set; } public class DebrisSelection { /// /// 记录名称 /// [XmlElement("itemName")] public string itemName { get; set; } /// /// 条件列表 /// [XmlArrayAttribute("conditionList")] public List conditionList { get; set; } } public class Condition { /// /// 条件名称 /// [XmlElement("conditionName")] public string conditionName { get; set; } /// /// 判断条件 /// [XmlElement("judgeCondition")] public int judgeCondition { get; set; } /// /// 条件数值 /// [XmlElement("conditionNum")] public double conditionNum { get; set; } /// /// 关联条件 /// [XmlElement("joinCondition")] public int joinCondition { get; set; } } } }