From 278e94cb1b045288d1205f36b67f60cb5224754c Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 06 十一月 2024 11:50:19 +0800 Subject: [PATCH] 属性调整 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/04-link/02-pump/HydroPumpViewModel.cs | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/04-link/02-pump/HydroPumpViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/04-link/02-pump/HydroPumpViewModel.cs index 77675e2..8f15c34 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-viewmodel/04-link/02-pump/HydroPumpViewModel.cs +++ b/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> /// 鏇存柊璁$畻灞炴�� -- Gitblit v1.9.3