From 1e9a72970e30b74b8f0cb7c74e2bec9df1aa1d22 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期四, 05 十二月 2024 09:29:33 +0800
Subject: [PATCH] 阀门曲线

---
 WinFrmUI/Yw.WinFrmUI.Phart.Core/02-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Phart.Core/02-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs b/WinFrmUI/Yw.WinFrmUI.Phart.Core/02-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs
index 35e00af..f666b46 100644
--- a/WinFrmUI/Yw.WinFrmUI.Phart.Core/02-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Phart.Core/02-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs
@@ -240,21 +240,13 @@
         /// 鑾峰彇鏁版嵁
         /// </summary>
         /// <returns></returns>
-        public bool Get(out string other_name, out Yw.Geometry.CubicSpline2d ql)
-        {
-            other_name = this.txtCurveCode.Text.Trim();
-            ql = null;
+        public bool Get(out List<Yw.Geometry.Point2d> pt_list)
+        { 
+            pt_list = null;
 
             if (!loadChart())
-                return false;
-
-            if (string.IsNullOrEmpty(other_name))
-            {
-                XtraMessageBox.Show("璇疯緭鍏ユ洸绾垮悕绉�!");
-                return false;
-            }
-            ql = new Yw.Geometry.CubicSpline2d(_pt_ql_list);
-
+                return false;  
+            pt_list = _pt_ql_list;  
             return true;
         }
     }

--
Gitblit v1.9.3