lixiaojun
2024-11-06 278e94cb1b045288d1205f36b67f60cb5224754c
WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/04-link/02-pump/HydroPumpViewModel.cs
@@ -286,6 +286,9 @@
        [Browsable(false)]
        public new Yw.Model.HydroPumpInfo Vmo { get; set; }
        /// <summary>
        ///
        /// </summary>
        public override void UpdateProperty()
        {
            base.UpdateProperty();
@@ -311,6 +314,31 @@
            this.UpdatePropStatus(nameof(this.CurveQE), this.Vmo, nameof(this.Vmo.CurveQE));
        }
        public override void UpdateVmoProperty()
        {
            base.UpdateVmoProperty();
            this.Vmo.RatedQ = this.RatedQ;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.RatedQ), this, nameof(this.RatedQ));
            this.Vmo.RatedH = this.RatedH;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.RatedH), this, nameof(this.RatedH));
            this.Vmo.RatedP = this.RatedP;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.RatedP), this, nameof(this.RatedP));
            this.Vmo.RatedN = this.RatedN;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.RatedN), this, nameof(this.RatedN));
            this.Vmo.RatedHz = this.RatedHz;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.RatedHz), this, nameof(this.RatedHz));
            this.Vmo.SpeedRatio = this.SpeedRatio;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.SpeedRatio), this, nameof(this.SpeedRatio));
            this.Vmo.SpeedRatioPattern = this.SpeedRatioPattern;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.SpeedRatioPattern), this, nameof(this.SpeedRatioPattern));
            this.Vmo.CurveQH = this.CurveQH;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.CurveQH), this, nameof(this.CurveQH));
            this.Vmo.CurveQP = this.CurveQP;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.CurveQP), this, nameof(this.CurveQP));
            this.Vmo.CurveQE = this.CurveQE;
            this.Vmo.UpdatePropStatus(nameof(this.Vmo.CurveQE), this, nameof(this.CurveQE));
        }
        /// <summary>
        /// 更新计算属性