qin
2025-03-20 00ab1b5282ada6ffdc78b3dd46f0ce08726a51e6
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 = null
            )
        {
            this.BeginGroup = string.IsNullOrEmpty(beginGroup) ? string.Empty : beginGroup;
            this.StartH = hydroInfo.GetHead(this.BeginGroup);
            this.PipeQ = hydroInfo.GetPipeQ(allCalcuVisualDict, this.BeginGroup);
            this.PipeH = hydroInfo.GetPipeHead(allCalcuVisualDict, this.BeginGroup);
        }
 
        /// <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; }
    }
}