lixiaojun
2025-02-19 288e87195c7b604e87fe4b98aa759c5fff6e2346
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
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 能效分析管道项视图
    /// </summary>
    public class HydroEnergyAnalyPipeItemViewModel
    {
        /// <summary>
        /// 
        /// </summary>
        public HydroEnergyAnalyPipeItemViewModel() { }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroEnergyAnalyPipeItemViewModel
            (
                Yw.Model.HydroModelInfo hydroInfo,
                Dictionary<string, HydroCalcuVisualResult> allCalcuVisualDict,
                string beginGroup
            )
        {
            this.BeginGroup = string.IsNullOrEmpty(beginGroup) ? string.Empty : beginGroup;
            this.StartH = hydroInfo.GetHead();
            this.PipeQ = hydroInfo.GetPipeQ(allCalcuVisualDict);
            this.PipeH = hydroInfo.GetPipeHead(allCalcuVisualDict);
        }
 
        /// <summary>
        /// 分组
        /// </summary>
        public string BeginGroup { get; set; }
 
        /// <summary>
        /// 开始扬程
        /// </summary>
        public double StartH { get; set; }
 
        /// <summary>
        /// 管道流量
        /// </summary>
        public double? PipeQ { get; set; }
 
        /// <summary>
        /// 管道扬程
        /// </summary>
        public double? PipeH { get; set; }
    }
}