You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.1 KiB
C#

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
{
/// <summary>
/// 分数点
/// </summary>
public class DrawerPointTwoName : DrawerPoint
{
/// <summary>
/// 属性类别排序
/// </summary>
private List<string> categorys = new List<string>() { "基础属性", "数据", "其他", "杂项" };
/// <summary>
/// Initializes a new instance of the <see cref="DrawerPointTwoName"/> class.
/// </summary>
public DrawerPointTwoName()
{
ElementType = DrawElementType.ELEMENT_TWOPOINT;
}
/// <summary>
/// Gets or sets the name.
/// </summary>
[XmlIgnore]
[Browsable(false)]
public override string Name { get; set; } = string.Empty;
/// <summary>
/// Gets or sets 分子.
/// </summary>
[Category("数据")]
[DisplayName("\t\t\t分子")]
[TypeConverterAttribute(typeof(LocationPropertyConvert))]
public LocationProperty Name1 { get; set; }
/// <summary>
/// Gets or sets 分母.
/// </summary>
[Category("数据")]
[DisplayName("\t\t\t分母")]
[TypeConverterAttribute(typeof(LocationPropertyConvert))]
public LocationProperty Name2 { get; set; }
[Browsable(false)]
public string ColumnLength
{
get;
set;
}
///// <summary>
///// The point name.
///// </summary>
//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; }
//}
}
}