lixiaojun
2024-12-20 4a27caa5a0d8f4eef667cc9ed0d1c01ea7329298
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
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 冷却塔视图
    /// </summary>
    public class HydroCoolingViewModel : HydroEmitterViewModel, IHydroCalcuCoolingResult
    {
        /// <summary>
        /// 
        /// </summary>
        public HydroCoolingViewModel() { }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroCoolingViewModel(Yw.Model.HydroCoolingInfo rhs, Yw.Model.HydroModelInfo hydroInfo) : base(rhs, hydroInfo)
        {
            this.LowerLimit = rhs.LowerLimit;
            this.UpdatePropStatus(nameof(this.LowerLimit), rhs, nameof(rhs.LowerLimit));
        }
 
        /// <summary>
        /// 最小压力
        /// </summary>
        [Category("数据")]
        [DisplayName("最小压力")]
        [DisplayUnit("m")]
        [Display(Name = "最小压力(m)")]
        [PropertyOrder(4001)]
        [Browsable(true)]
        public virtual double LowerLimit { get; set; }
 
 
        /// <summary>
        /// 
        /// </summary>
        [Browsable(false)]
        public new Yw.Model.HydroCoolingInfo Vmo
        {
            get { return _vmo as Yw.Model.HydroCoolingInfo; }
            set { _vmo = value; }
        }
 
 
        /// <summary>
        /// 
        /// </summary>
        public override void UpdateProperty()
        {
            base.UpdateProperty();
            this.LowerLimit = this.Vmo.LowerLimit;
            this.UpdatePropStatus(nameof(this.LowerLimit), this.Vmo, nameof(this.Vmo.LowerLimit));
        }
 
        /// <summary>
        /// 
        /// </summary>
        public override void UpdateVmoProperty()
        {
            base.UpdateVmoProperty();
            this.Vmo.LowerLimit = this.LowerLimit;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.LowerLimit), this, nameof(this.LowerLimit));
        }
 
 
    }
}