From ca1ccd0dd9f2d6936368f07d14a2b29b309fd151 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期三, 04 十二月 2024 15:59:25 +0800
Subject: [PATCH] 增加单独匹配界面

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingViewModel.cs |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingViewModel.cs
index f50e47c..4427bc8 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingViewModel.cs
@@ -1,4 +1,6 @@
-锘縩amespace HStation.WinFrmUI
+锘縰sing HStation.Assets;
+
+namespace HStation.WinFrmUI
 {
     public class ElbowSingleMatchingViewModel
     {
@@ -10,9 +12,11 @@
         {
             this.Caliber = rhs.Caliber;
             this.ID = rhs.ID;
-            this.Material = rhs.MaterialName;
+            this.Material = rhs.Material;
             this.ModelType = rhs.Name;
-            this.MinorLoss = rhs.Coefficient;
+            this.MinorLoss = rhs.MinorLoss;
+            this.Angle = rhs.Angle;
+            this.ElbowType = rhs.ElbowType;
         }
 
         /// <summary>
@@ -49,5 +53,21 @@
         [DisplayName("鎹熷け绯绘暟")]
         [Browsable(true)]
         public double? MinorLoss { get; set; }
+
+        /// <summary>
+        /// 绠¤矾杩炴帴闀垮害
+        /// </summary>
+
+        [DisplayName("寮ご绫诲瀷")]
+        [Browsable(true)]
+        public HStation.Assets.eElbowType? ElbowType { get; set; }
+
+        /// <summary>
+        /// 瑙掑害
+        /// </summary>
+
+        [DisplayName("瑙掑害")]
+        [Browsable(true)]
+        public int? Angle { get; set; }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3