lixiaojun
2024-10-17 4cb1f00f84d160f97afd0fb86cf600e1be667dd5
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
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 
    /// </summary>
    public class HydroTankViewModel : HydroSourceViewModel
    {
        /// <summary>
        /// 
        /// </summary>
        public HydroTankViewModel() { }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroTankViewModel(Yw.Model.HydroTankInfo rhs) : base(rhs)
        {
            this.PoolElev = rhs.PoolElev;
            this.InitLevel = rhs.InitLevel;
            this.MinLevel = rhs.MinLevel;
            this.MaxLevel = rhs.MaxLevel;
            this.DN = rhs.DN;
            this.MinVol = rhs.MinVol;
            this.VolCurve = rhs.VolCurve;
            this.OverFlow = rhs.OverFlow;
 
            this.Vmo = rhs;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroTankViewModel(Yw.Model.HydroTankInfo rhs, HydroCalcuNodeResult calcuResult) : base(rhs, calcuResult)
        {
            this.PoolElev = rhs.PoolElev;
            this.InitLevel = rhs.InitLevel;
            this.MinLevel = rhs.MinLevel;
            this.MaxLevel = rhs.MaxLevel;
            this.DN = rhs.DN;
            this.MinVol = rhs.MinVol;
            this.VolCurve = rhs.VolCurve;
            this.OverFlow = rhs.OverFlow;
 
            this.Vmo = rhs;
        }
 
        /// <summary>
        /// 池底标高
        /// </summary>
        [DisplayName("池底标高(m)")]
        public double PoolElev { get; set; }
 
        /// <summary>
        /// 初始水位
        /// </summary>
        [DisplayName("初始水位(m)")]
        public double InitLevel { get; set; }
 
        /// <summary>
        /// 最低水位
        /// </summary>
        [DisplayName("最低水位(m)")]
        public double MinLevel { get; set; }
 
        /// <summary>
        /// 最高水位
        /// </summary>
        [DisplayName("最高水位(m)")]
        public double MaxLevel { get; set; }
 
        /// <summary>
        /// 公称直径
        /// </summary>
        [DisplayName("公称直径(m)")]
        public double DN { get; set; }
 
        /// <summary>
        /// 最小容积
        /// </summary>
        [DisplayName("最小容积(m³)")]
        public double MinVol { get; set; }
 
        /// <summary>
        /// 容积曲线
        /// </summary>
        [DisplayName("容积曲线")]
        public string VolCurve { get; set; }
 
        /// <summary>
        /// 允许溢流
        /// </summary>
        [DisplayName("允许溢流")]
        public bool OverFlow { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public new Yw.Model.HydroTankInfo Vmo { get; set; }
 
    }
}