Shuxia Ning
2024-08-12 d2cee56db11f0ee475e9f9dbdc8bfd03ad982e18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
using System.Drawing;
 
namespace Yw.WinFrmUI.Phart.Cubic
{
    /// <summary>
    /// 后续修改为Setting文件
    /// </summary>
    public class CurveChartDisplay
    {
        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 CurveColorQE { get; set; } = Color.Green;
        public static Color CurveColorQP { get; set; } = Color.Crimson;
 
        public static Color PointColorQH { 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 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 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 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 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 AnnoConnTypeQE { get; set; } = 1;
        public static int AnnoConnTypeQP { get; set; } = 1;
 
        public static string AnnoTextQH { 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 PointSizeQP { get; set; } = 10;
        public static int PointSizeQE { get; set; } = 10;
 
        public static int PointKindQH { 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
 
    }
}