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/05-fourlink/HydroFourlinkMatchingViewModel.cs |   22 +++-------------------
 1 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/05-fourlink/HydroFourlinkMatchingViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/05-fourlink/HydroFourlinkMatchingViewModel.cs
index 767a76a..b3da3ad 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/05-fourlink/HydroFourlinkMatchingViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/05-fourlink/HydroFourlinkMatchingViewModel.cs
@@ -15,7 +15,6 @@
         /// </summary>
         public HydroFourlinkMatchingViewModel(Yw.Model.HydroFourlinkInfo rhs, Yw.Model.HydroModelInfo hydroInfo)
         {
-            this.ID = rhs.ID;
             this.Name = rhs.Name;
             this.Code = rhs.Code;
             this.DbLocked = rhs.DbLocked;
@@ -29,23 +28,8 @@
         /// <summary>
         ///
         /// </summary>
-        public HydroFourlinkMatchingViewModel(Yw.Model.HydroFourlinkInfo rhs, Yw.Model.HydroModelInfo hydroInfo, HydroCalcuNodeResult calcuResult) : this(rhs, hydroInfo)
-        {
+        public HydroFourlinkMatchingViewModel(HydroFourlinkViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { }
 
-        }
-
-        /// <summary>
-        ///
-        /// </summary>
-        public HydroFourlinkMatchingViewModel(HydroFourlinkViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo)
-        {
-
-        }
-
-        /// <summary>
-        /// ID
-        /// </summary>
-        public long ID { get; set; }
 
         /// <summary>
         /// 缂栫爜
@@ -80,12 +64,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