duheng
2024-12-27 1c3e5bc50d3045d51cb9a9f747d53442b82d9e2c
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
using System.ComponentModel.DataAnnotations;
 
namespace HStation.WinFrmUI.PhartRelation
{
    /// <summary>
    /// 
    /// </summary>
    public class XhsSinglePumpViewModel
    {
        public XhsSinglePumpViewModel() { }
        public XhsSinglePumpViewModel(XhsSinglePumpViewModel rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.IsBp = rhs.IsBp;
            this.RunStatus = rhs.RunStatus;
            this.RatedHz = rhs.RatedHz;
            this.CurrentHz = rhs.CurrentHz;
            this.RatedSpeed = rhs.RatedSpeed;
            this.CurrentSpeed = rhs.CurrentSpeed;
            this.CurveQH = rhs.CurveQH?.Select(x => new XhsSplinePointViewModel(x)).ToList();
            this.CurveQE = rhs.CurveQE?.Select(x => new XhsSplinePointViewModel(x)).ToList();
            this.CurveQP = rhs.CurveQP?.Select(x => new XhsSplinePointViewModel(x)).ToList();
            this.CalcuQ = rhs.CalcuQ;
            this.CalcuH = rhs.CalcuH;
        }
 
 
        /// <summary>
        /// id
        /// </summary>
        public long ID { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        [Display(Name = "名称")]
        public string Name { get; set; }
 
        /// <summary>
        /// 编码
        /// </summary>
        [Display(Name = "编码")]
        public string Code { get; set; }
 
        /// <summary>
        /// 变频
        /// </summary>
        [Display(Name = "变频")]
        public bool IsBp { get; set; }
 
        /// <summary>
        /// 运行状态
        /// </summary>
        [Display(Name = "运行状态")]
        public bool RunStatus { get; set; }
 
        /// <summary>
        /// 额定频率
        /// </summary>
        [Display(Name = "额定频率")]
        public double RatedHz { get; set; }
 
        /// <summary>
        /// 设定频率
        /// </summary>
        [Display(Name = "设定频率")]
        public double CurrentHz { get; set; }
 
        /// <summary>
        /// 额定转速
        /// </summary>
        [Display(Name = "额定转速")]
        public double RatedSpeed { get; set; }
 
        /// <summary>
        /// 设定转速
        /// </summary>
        [Display(Name = "设定转速")]
        public double CurrentSpeed { get; set; }
 
        /// <summary>
        /// 流量扬程线
        /// </summary>
        [Display(Name = "流量扬程线")]
        public List<XhsSplinePointViewModel> CurveQH { get; set; }
 
        /// <summary>
        /// 流量功率线
        /// </summary>
        [Display(Name = "流量功率线")]
        public List<XhsSplinePointViewModel> CurveQP { get; set; }
 
        /// <summary>
        /// 流量效率线
        /// </summary>
        [Display(Name = "流量效率线")]
        public List<XhsSplinePointViewModel> CurveQE { get; set; }
 
        /// <summary>
        /// 计算流量
        /// </summary>
        [Display(Name = "计算流量")]
        public double? CalcuQ { get; set; }
 
        /// <summary>
        /// 计算扬程
        /// </summary>
        [Display(Name = "计算扬程")]
        public double? CalcuH { get; set; }
 
 
 
 
    }
}