using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace GummingCommon { public class ChartEntity { /// /// X轴开始刻度 /// public object PointStart { get; set; } /// /// 警戒线 /// public List PlotLinesValue { get; set; } /// /// 图表数据 /// public List Series { get; set; } /// /// X轴坐标值 /// public List Categories { get; set; } } public class ChartWarnLineEntity { public string Color { get; set; } public string Value { get; set; } } public class ChartGummingCommon { public string Name { get; set; } public List Record { get; set; } public List Rate { get; set; } public List Count { get; set; } public List Score { get; set; } } public class ChartCategoriesConvert { public static List ConvertFromDate(DateTime dtStart, DateTime dtEnd) { var rst = new List(); while (dtStart <= dtEnd) { rst.Add(dtStart); dtStart = dtStart.AddDays(1); } return rst; } } public class SelectEntity { public string RecId { get; set; } public string Name { get; set; } public string Code { get; set; } } }