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.
kev/Drawer/UCDraw/SigmaDrawerStyle/ConditionDeletionPropery.cs

46 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace GeoSigma.SigmaDrawerStyle
{
public enum ConditionDeletionKind
{
线,
线,
,
}
public enum DeletionMethod
{
,
//将满足条件的元素放入规定层,
}
public class ConditionDeletionProperty
{
private ConditionDeletionKind kind; // { get; set; } //删除依据
private double threshold; // 门限值
private DeletionMethod method;
private string layerName;
/// <summary>
/// 筛选条件 <门限值
/// </summary>
[Category("\t条件删除"), DisplayName("\t\t\t\t\t\t筛选条件")]
[TypeConverter(typeof(Converter.ConditionDeletionConvert))]
public string ConditionDeletion
{
get;
set;
}
[Category("\t条件删除"), DisplayName("\t\t\t\t\t删除依据")]
public ConditionDeletionKind Kind { get => kind; set => kind = value; }
[Category("\t条件删除"), DisplayName("\t\t\t\t\t\t门限值")]
public double Threshold { get => threshold; set => threshold = value; }
[Category("\t条件删除"), DisplayName("\t\t\t\t\t\t删除方法")]
public DeletionMethod Method { get => method; set => method = value; }
[Category("\t条件删除"), DisplayName("\t\t\t\t\t\t层位")]
public string LayerName { get => layerName; set => layerName = value; }
}
}