From a6c50c87d1ba3f5c8785dcc9e8ea640b5a43209f Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 26 九月 2024 15:07:09 +0800 Subject: [PATCH] 修改报错 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/02-pump/XhsProjectSimulationPumpMatchingViewModel.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/02-pump/XhsProjectSimulationPumpMatchingViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/02-pump/XhsProjectSimulationPumpMatchingViewModel.cs index c12d539..77e8653 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/02-pump/XhsProjectSimulationPumpMatchingViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/02-pump/XhsProjectSimulationPumpMatchingViewModel.cs @@ -19,12 +19,12 @@ this.RatedQ = rhs.RatedQ; this.MatchingRatedP = rhs.MatchingRatedP; this.MatchingDbID = rhs.MatchingDbId; - this.MatchingChartDbID = rhs.MatchingCurveDbId; + this.MatchingCurveDbId = rhs.MatchingCurveDbId; this.MatchingRatedH = rhs.MatchingRatedH; this.MatchingRatedN = rhs.MatchingRatedN; this.MatchingRatedP = rhs.MatchingRatedP; this.MatchingRatedQ = rhs.MatchingRatedQ; - if (rhs.DbId == null) + if (rhs.DbId == null || rhs.DbId == string.Empty) { MatchingType = eMatchingStatus.Failed; } @@ -108,7 +108,7 @@ [DisplayName("鍖归厤鍚嶤hartDbID")] [Browsable(false)] - public long? MatchingChartDbID { get; set; } + public string MatchingCurveDbId { get; set; } /// <summary> /// 淇敼鍚庨瀹氬姛鐜� -- Gitblit v1.9.3