namespace Yw.WinFrmUI.Phart { /// /// 后续修改为Setting文件 /// public class Perform2dChartDisplay { public static Color ChartBackColor { get; set; } = Color.White; public static Color ChartChartTitle { get; set; } = Color.Black; public static Color ChartAnnotationTextColor { get; set; } = Color.Black; public static Color GridLinesColorX { get; set; } = Color.DarkSlateBlue; public static Color GridLinesColorY { get; set; } = Color.DarkSlateBlue; public static Color RegionColorWork { get; set; } = Color.OldLace; public static Color RegionColorPreferred { get; set; } = Color.LightGreen; public static Color RegionColorAllowable { get; set; } = Color.LawnGreen; public static Color CurveColorQH { get; set; } = Color.DodgerBlue; public static Color CurveColorQL { get; set; } = Color.DodgerBlue; public static Color CurveColorQE { get; set; } = Color.Green; public static Color CurveColorQP { get; set; } = Color.Crimson; public static Color PointColorQH { get; set; } = Color.DodgerBlue; public static Color PointColorQL { get; set; } = Color.DodgerBlue; public static Color PointColorQE { get; set; } = Color.Green; public static Color PointColorQP { get; set; } = Color.Crimson; public static Color AxisColorQ { get; set; } = Color.Black; public static Color AxisColorH { get; set; } = Color.DodgerBlue; public static Color AxisColorL { get; set; } = Color.DodgerBlue; public static Color AxisColorE { get; set; } = Color.Green; public static Color AxisColorP { get; set; } = Color.Crimson; public static Color LineColor { get; set; } = Color.Black; public static Font AxisLabelFontQ { get; set; } = new Font("Tahoma", 8); public static Font AxisLabelFontH { get; set; } = new Font("Tahoma", 8); public static Font AxisLabelFontL { get; set; } = new Font("Tahoma", 8); public static Font AxisLabelFontE { get; set; } = new Font("Tahoma", 8); public static Font AxisLabelFontP { get; set; } = new Font("Tahoma", 8); public static Font AxisTitleFontQ { get; set; } = new Font("Tahoma", 12); public static Font AxisTitleFontH { get; set; } = new Font("Tahoma", 12); public static Font AxisTitleFontL { get; set; } = new Font("Tahoma", 12); public static Font AxisTitleFontE { get; set; } = new Font("Tahoma", 12); public static Font AxisTitleFontP { get; set; } = new Font("Tahoma", 12); public static Font AnnoWorkPiontFontQH { get; set; } = new Font("Tahoma", 9); public static Font AnnoFontQH { get; set; } = new Font("Tahoma", 9); public static Font AnnoFontQL { get; set; } = new Font("Tahoma", 9); public static Font AnnoFontQE { get; set; } = new Font("Tahoma", 9); public static Font AnnoFontQP { get; set; } = new Font("Tahoma", 9); public static Font LineFont { get; set; } = new Font("Tahoma", 9); public static int AnnoConnTypeQH { get; set; } = 1; public static int AnnoConnTypeQL { get; set; } = 1; public static int AnnoConnTypeQE { get; set; } = 1; public static int AnnoConnTypeQP { get; set; } = 1; public static string AnnoTextQH { get; set; } = "扬程线"; public static string AnnoTextQL { get; set; } = "水损线"; public static string AnnoTextQE { get; set; } = "效率线"; public static string AnnoTextQP { get; set; } = "功率线"; public static int GridLineTypeY { get; set; } = 1; public static int GridLineTypeX { get; set; } = 1; public static int PointSizeQH { get; set; } = 10; public static int PointSizeQL { get; set; } = 10; public static int PointSizeQP { get; set; } = 10; public static int PointSizeQE { get; set; } = 10; public static int PointKindQH { get; set; } = 0; public static int PointKindQL { get; set; } = 0; public static int PointKindQE { get; set; } = 0; public static int PointKindQP { get; set; } = 0; #region 未设置 public static int CurveWidthQH { get; set; } = 2; public static int CurveWidthQE { get; set; } = 2; public static int CurveWidthQP { get; set; } = 2; public static int AllowableRegionMinDefault { get; set; } = 75; public static int AllowableRegionMaxDefault { get; set; } = 120; public static int PreferredRegionMinDefault { get; set; } = 80; public static int PreferredRegionMaxDefault { get; set; } = 110; #endregion } }