From 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期五, 28 三月 2025 14:22:42 +0800 Subject: [PATCH] 优化细节问题 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/01-tank/HydroTankMatchingViewModel.cs | 30 +++++++----------------------- 1 files changed, 7 insertions(+), 23 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/01-tank/HydroTankMatchingViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/01-tank/HydroTankMatchingViewModel.cs index ef95a98..6b63a55 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/01-tank/HydroTankMatchingViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/01-tank/HydroTankMatchingViewModel.cs @@ -15,7 +15,6 @@ /// </summary> public HydroTankMatchingViewModel(Yw.Model.HydroTankInfo rhs, Yw.Model.HydroModelInfo hydroInfo) { - this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; this.ModelType = rhs.ModelType; @@ -32,23 +31,8 @@ /// <summary> /// /// </summary> - public HydroTankMatchingViewModel(Yw.Model.HydroTankInfo rhs, Yw.Model.HydroModelInfo hydroInfo, HydroCalcuNodeResult calcuResult) : this(rhs, hydroInfo) - { + public HydroTankMatchingViewModel(HydroTankViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { } - } - - /// <summary> - /// - /// </summary> - public HydroTankMatchingViewModel(HydroTankViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) - { - - } - - /// <summary> - /// ID - /// </summary> - public long ID { get; set; } /// <summary> /// 缂栫爜 @@ -76,27 +60,27 @@ public string DbId { get; set; } /// <summary> - /// CurveDbId + /// 鏇茬嚎DbId /// </summary> public string CurveDbId { get; set; } /// <summary> - /// 鏈�浣庢按浣� + /// 鏈�浣庢按浣�(m) /// </summary> public double MinLevel { get; set; } /// <summary> - /// 鏈�楂樻按浣� + /// 鏈�楂樻按浣�(m) /// </summary> public double MaxLevel { get; set; } /// <summary> - /// 鍏О鐩村緞 + /// 鍏О鐩村緞(m) /// </summary> public double DN { get; set; } /// <summary> - /// 鏈�灏忓绉� + /// 鏈�灏忓绉�(m鲁) /// </summary> public double MinVol { get; set; } @@ -152,4 +136,4 @@ } -} +} \ No newline at end of file -- Gitblit v1.9.3