From 02c14c9c57dbde72d9c771bd8b0fab1cd023047d Mon Sep 17 00:00:00 2001 From: cloudflight <cloudflight@126.com> Date: 星期一, 13 一月 2025 09:09:22 +0800 Subject: [PATCH] 上下游纵断面分析 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/10-hydrant/HydroHydrantMatchingViewModel.cs | 22 +++------------------- 1 files changed, 3 insertions(+), 19 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/10-hydrant/HydroHydrantMatchingViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/10-hydrant/HydroHydrantMatchingViewModel.cs index 08e4db8..9a44ec3 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/10-hydrant/HydroHydrantMatchingViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/10-hydrant/HydroHydrantMatchingViewModel.cs @@ -15,7 +15,6 @@ /// </summary> public HydroHydrantMatchingViewModel(Yw.Model.HydroHydrantInfo rhs, Yw.Model.HydroModelInfo hydroInfo) { - this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; this.DbLocked = rhs.DbLocked; @@ -30,23 +29,8 @@ /// <summary> /// /// </summary> - public HydroHydrantMatchingViewModel(Yw.Model.HydroHydrantInfo rhs, Yw.Model.HydroModelInfo hydroInfo, HydroCalcuNodeResult calcuResult) : this(rhs, hydroInfo) - { + public HydroHydrantMatchingViewModel(HydroHydrantViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { } - } - - /// <summary> - /// - /// </summary> - public HydroHydrantMatchingViewModel(HydroHydrantViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) - { - - } - - /// <summary> - /// ID - /// </summary> - public long ID { get; set; } /// <summary> /// 缂栫爜 @@ -81,12 +65,12 @@ /// <summary> /// 鍙e緞 /// </summary> - public double? Caliber { get; set; } + public double Caliber { get; set; } /// <summary> /// 鎹熷け绯绘暟 /// </summary> - public double? MinorLoss { get; set; } + public double MinorLoss { get; set; } /// <summary> /// 鍠峰皠绯绘暟 -- Gitblit v1.9.3