using TrendChartSDK.Entity.Base; using TrendChartSDK.Entity.TrendChart; using TrendChartSDK.Interface; namespace TrendChartSDK.TrendChartManager { /// /// 走势图常用 /// public class TrendChartUtils { /// /// 返回走势图项处理类 /// /// /// /// public static IChartItem GetTrendChartInterface(ChartItemClassName className) where T : LotteryOpenCode { switch (className) { case ChartItemClassName.SingleValue: return new SingleValueItem(); case ChartItemClassName.MultiValue: return new MultiValueItem(); case ChartItemClassName.SpecialValue: return new SpecialValueItem(); } return null; } } }