using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using GeoSigma.SigmaDrawerStyle; using GeoSigmaDrawLib; namespace SigmaDrawerElement { /// /// 分数点 /// public class DrawerPointTwoName : DrawerPoint { /// /// 属性类别排序 /// private List categorys = new List() { "基础属性", "数据", "其他", "杂项" }; /// /// Initializes a new instance of the class. /// public DrawerPointTwoName() { ElementType = DrawElementType.ELEMENT_TWOPOINT; } /// /// Gets or sets the name. /// [XmlIgnore] [Browsable(false)] public override string Name { get; set; } = string.Empty; /// /// Gets or sets 分子. /// [Category("数据")] [DisplayName("\t\t\t分子")] [TypeConverterAttribute(typeof(LocationPropertyConvert))] public LocationProperty Name1 { get; set; } /// /// Gets or sets 分母. /// [Category("数据")] [DisplayName("\t\t\t分母")] [TypeConverterAttribute(typeof(LocationPropertyConvert))] public LocationProperty Name2 { get; set; } [Browsable(false)] public string ColumnLength { get; set; } ///// ///// The point name. ///// //public class PointName //{ // [XmlAttribute] // public string Name { get; set; } // [XmlAttribute] // public double X { get; set; } // [XmlAttribute] // public double Y { get; set; } // [XmlAttribute] // public double Z { get; set; } // [XmlAttribute] // public double Angle { get; set; } //} } }