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.

81 lines
2.3 KiB
C#

1 month ago
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GeoSigma.SigmaDrawerStyle;
using GeoSigmaDrawLib;
using SigmaDrawerStyle;
namespace SigmaDrawerElement
{
/// <summary>
/// 十字交叉点.
/// </summary>
[TypeConverter(typeof(PropertySorter))]
public class DrawerPointCrossName : DrawerPointTwoName
{
/// <summary>
/// 属性类别排序
/// </summary>
private List<string> categorys = new List<string>() { "基础属性", "数据", "其他", "杂项" };
/// <summary>
/// Initializes a new instance of the <see cref="DrawerPointCrossName"/> class.
/// </summary>
public DrawerPointCrossName()
{
ElementType = DrawElementType.ELEMENT_CROSSPOINT;
}
/// <summary>
/// Gets or sets 分子.
/// </summary>
[Category("数据")]
[DisplayName("第一象限"), PropertyOrder(1)]
[TypeConverterAttribute(typeof(LocationPropertyConvert))]
public new LocationProperty Name1
{
get
{
return base.Name1;
}
set
{
base.Name1 = value;
}
}
/// <summary>
/// Gets or sets 分母.
/// </summary>
[Category("数据")]
[DisplayName("第二象限"), PropertyOrder(2)]
[TypeConverterAttribute(typeof(LocationPropertyConvert))]
public new LocationProperty Name2
{
get
{
return base.Name2;
}
set
{
base.Name2 = value;
}
}
/// <summary>
/// Gets or sets the name3.
/// </summary>
[Category("数据")]
[DisplayName("第三象限"), PropertyOrder(3)]
[TypeConverterAttribute(typeof(LocationPropertyConvert))]
public LocationProperty Name3 { get; set; }
/// <summary>
/// Gets or sets 分母.
/// </summary>
[Category("数据")]
[DisplayName("第四象限"), PropertyOrder(4)]
[TypeConverterAttribute(typeof(LocationPropertyConvert))]
public LocationProperty Name4 { get; set; }
}
}