From 8d37c26bb296728335d07428c19ef1b8bba7b702 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期二, 14 一月 2025 09:54:25 +0800 Subject: [PATCH] 删除无用程序集 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/08-pressmeter/HydroFlowmeterMatchingViewModel.cs | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/08-pressmeter/HydroFlowmeterMatchingViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/08-pressmeter/HydroFlowmeterMatchingViewModel.cs index cbda043..e96d76e 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/08-pressmeter/HydroFlowmeterMatchingViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/08-pressmeter/HydroFlowmeterMatchingViewModel.cs @@ -15,7 +15,6 @@ /// </summary> public HydroPressmeterMatchingViewModel(Yw.Model.HydroPressmeterInfo rhs, Yw.Model.HydroModelInfo hydroInfo) { - this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; this.DbLocked = rhs.DbLocked; @@ -27,23 +26,8 @@ /// <summary> /// /// </summary> - public HydroPressmeterMatchingViewModel(Yw.Model.HydroPressmeterInfo rhs, Yw.Model.HydroModelInfo hydroInfo, HydroCalcuPressmeterResult calcuResult) : this(rhs, hydroInfo) - { + public HydroPressmeterMatchingViewModel(HydroPressmeterViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { } - } - - /// <summary> - /// - /// </summary> - public HydroPressmeterMatchingViewModel(HydroPressmeterViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) - { - - } - - /// <summary> - /// ID - /// </summary> - public long ID { get; set; } /// <summary> /// 缂栫爜 @@ -73,7 +57,7 @@ /// <summary> /// 鎹熷け绯绘暟 /// </summary> - public double? MinorLoss { get; set; } + public double MinorLoss { get; set; } /// <summary> /// 鍖归厤鍨嬪彿 -- Gitblit v1.9.3