From bbf62b879c9799a47f4e3d7e5bc10ff1763b7b75 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期日, 03 十一月 2024 14:58:25 +0800
Subject: [PATCH] 计算面板

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/AddThreeLinkMainDlg.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/AddThreeLinkMainDlg.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/AddThreeLinkMainDlg.cs
index 08685b9..d191c0e 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/AddThreeLinkMainDlg.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/AddThreeLinkMainDlg.cs
@@ -74,9 +74,17 @@
             {
                 _ThreeLinkVmo.Caliber = caliber;
             }
-            if (double.TryParse(TextEditCoefficient.Text, out double Coefficient))
+            if (double.TryParse(TextEditCoefficient.Text, out double coefficient))
             {
-                _ThreeLinkVmo.Coefficient = Coefficient;
+                _ThreeLinkVmo.Coefficient = coefficient;
+            }
+            if (double.TryParse(textEditRunThroughCoefficient.Text, out double runThrough))
+            {
+                _ThreeLinkVmo.Coefficient = runThrough;
+            }
+            if (double.TryParse(textEditBranchThroughCoefficient.Text, out double branchThough))
+            {
+                _ThreeLinkVmo.Coefficient = branchThough;
             }
             if (await this.ReloadDataEvent.Invoke(_ThreeLinkVmo))
             {

--
Gitblit v1.9.3