From aaac84e4ed86d089c01c5b180e4249db73cc78d7 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 19 二月 2025 14:08:04 +0800
Subject: [PATCH] 监测分析改造

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/13-translation/HydroTranslationMatchingViewModel.cs |   28 +++++++++++-----------------
 1 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/13-translation/HydroTranslationMatchingViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/13-translation/HydroTranslationMatchingViewModel.cs
index 3c813df..bc1b3c7 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/13-translation/HydroTranslationMatchingViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/14-matching/13-translation/HydroTranslationMatchingViewModel.cs
@@ -20,13 +20,12 @@
             this.DbLocked = rhs.DbLocked;
             this.DbId = rhs.DbId;
             this.ModelType = rhs.ModelType;
+            this.TranslationType = HydroTranslationTypeEnumHelper.GetTranslationType(rhs.TranslationType);
             this.Material = rhs.Material;
-            this.Diameter = rhs.Diameter;
             this.StartDiameter = rhs.StartDiameter;
             this.EndDiameter = rhs.EndDiameter;
             this.Roughness = rhs.Roughness;
             this.MinorLoss = rhs.MinorLoss;
-            this.eAlgorithmType = eAlgorithmType.Hazen;
         }
 
         /// <summary>
@@ -61,14 +60,14 @@
         public string ModelType { get; set; }
 
         /// <summary>
+        /// 杩囨浮浠剁被鍨�
+        /// </summary>
+        public eTranslationType? TranslationType { get; set; }
+
+        /// <summary>
         /// 鏉愯川
         /// </summary>
         public string Material { get; set; }
-
-        /// <summary>
-        /// 鐩村緞
-        /// </summary>
-        public double Diameter { get; set; }
 
         /// <summary>
         /// 涓婃父鐩村緞
@@ -91,11 +90,6 @@
         public double MinorLoss { get; set; }
 
         /// <summary>
-        /// 绠楁硶绫诲瀷
-        /// </summary>
-        public eAlgorithmType eAlgorithmType { get; set; }
-
-        /// <summary>
         /// 鍖归厤鍨嬪彿
         /// </summary>
         public string MatchingModelType { get; set; }
@@ -106,14 +100,14 @@
         public string MatchingDbId { get; set; }
 
         /// <summary>
+        /// 鍖归厤杩囨浮浠剁被鍨�
+        /// </summary>
+        public eTranslationType? MatchingTranslationType { get; set; }
+
+        /// <summary>
         /// 鍖归厤鏉愯川
         /// </summary>
         public string MatchingMaterial { get; set; }
-
-        /// <summary>
-        /// 鍖归厤鐩村緞
-        /// </summary>
-        public double? MatchingDiameter { get; set; }
 
         /// <summary>
         /// 鍖归厤涓婃父鐩村緞

--
Gitblit v1.9.3