Shuxia Ning
2024-12-11 f2cc8078a00824a319dab44841f7cb64fdee76b0
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
namespace Yw.WinFrmUI.Phart
{
    /// <summary>
    ///  
    /// </summary>
    public class PumpChartViewModel
    {
        public PumpChartViewModel() { }
        public PumpChartViewModel(PumpChartViewModel rhs)
        {
            this.Id = rhs.Id;
            this.ColorQH = rhs.ColorQH;
            this.ColorQE = rhs.ColorQE;
            this.ColorQP = rhs.ColorQP;
            this.CurveQHName = rhs.CurveQHName;
            this.CurveQPName = rhs.CurveQPName;
            this.CurveQH = rhs.CurveQH;
            this.CurveQE = rhs.CurveQE;
            this.CurveQP = rhs.CurveQP;
            this.PointListQH = rhs.PointListQH;
            this.PointListQE = rhs.PointListQE;
            this.PointListQP = rhs.PointListQP;
            this.Equip = rhs.Equip;
            this.VariableSpeedList = rhs.VariableSpeedList;
            this.EquivEffList = rhs.EquivEffList;
            this.EquivPowerList = rhs.EquivPowerList;
        }
 
 
        /// <summary>
        /// 标识
        /// </summary>
        public string Id { get; set; }
         
        /// <summary>
        /// 扬程颜色
        /// </summary>
        public Color? ColorQH { get; set; }
 
        /// <summary>
        /// 效率颜色
        /// </summary>
        public Color? ColorQE { get; set; }
 
        /// <summary>
        /// 功率颜色
        /// </summary>
        public Color? ColorQP { get; set; }
         
        /// <summary>
        ///  流量扬程线名称
        /// </summary>
        public string CurveQHName { get; set; }
 
        /// <summary>
        ///  流量功率线名称
        /// </summary>
        public string CurveQPName { get; set; }
 
        /// <summary>
        /// 流量扬程线
        /// </summary>
        public List<Yw.Geometry.Point2d> CurveQH { get; set; }
 
        /// <summary>
        /// 流量效率线
        /// </summary>
        public List<Yw.Geometry.Point2d> CurveQE { get; set; }
         
        /// <summary>
        /// 流量功率线
        /// </summary>
        public List<Yw.Geometry.Point2d> CurveQP { get; set; }
 
        /// <summary>
        /// 流量扬程点列表
        /// </summary>
        public List<Yw.Geometry.Point2d> PointListQH { get; set; }
 
        /// <summary>
        /// 流量效率点列表
        /// </summary>
        public List<Yw.Geometry.Point2d> PointListQE { get; set; }
 
        /// <summary>
        /// 流量功率点列表
        /// </summary>
        public List<Yw.Geometry.Point2d> PointListQP { get; set; }
  
        /// <summary>
        /// 装置
        /// </summary>
        public PumpChartEquipViewModel Equip { get; set; }
 
        /// <summary>
        /// 变速列表
        /// </summary>
        public List<PumpChartVariableSpeedViewModel> VariableSpeedList { get; set; }
 
        /// <summary>
        /// 等效线列表
        /// </summary>
        public List<PumpChartEquivEffViewModel> EquivEffList { get; set; }
 
        /// <summary>
        /// 等功率列表
        /// </summary>
        public List<PumpChartEquivPowerViewModel> EquivPowerList { get; set; }
 
 
 
        public bool IsValid()
        {
            if (this.CurveQH == null)
            {
                return false;
            }
            return true;
        }
 
 
    }
 
}