using System; using TrendChartSDK.Entity.TrendChart; using TrendChartSDK.Entity.TrendMiss; namespace TrendChartSDK.TrendMiss { /// /// 走势图项值计算函数描述类 /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public class MissFunction : Attribute { /// /// 项值计算方法描述 /// public string Name; /// /// 项值计算方法对应枚举类型 /// public MissItemType ItemType; /// /// 处理类型 /// public ChartItemClassName ClassName; public MissFunction(string name, MissItemType itemType, ChartItemClassName className) { this.Name = name; this.ItemType = itemType; this.ClassName = className; } } }