From bef933e7e166b085ba7e46e38ea62d9ae0129ec6 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 20 一月 2025 10:47:23 +0800 Subject: [PATCH] 远程API模式阶段性提交 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs index 5ed3568..55abbfc 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/05-import/01-excel/ImportValvePerform2dByExcelCtrl.cs @@ -237,7 +237,7 @@ } _cubic_spline_ql = new Yw.Geometry.CubicSpline2d(_pt_ql_list); - this.xtrPerform2dChart1.SetBindingData(_cubic_spline_ql, string.Empty, true); + this.xtrPerform2dChart1.SetBindingData(_cubic_spline_ql.ToDbString(), string.Empty, true); return true; } @@ -245,21 +245,13 @@ /// 鑾峰彇鏁版嵁 /// </summary> /// <returns></returns> - public bool Get(out string other_name, out Yw.Geometry.CubicSpline2d ql) + public bool Get(out List<Yw.Geometry.Point2d> pt_list) { - other_name = this.txtCurveCode.Text.Trim(); - ql = null; + pt_list = null; if (!loadChart()) return false; - - if (string.IsNullOrEmpty(other_name)) - { - XtraMessageBox.Show("璇疯緭鍏ユ洸绾垮悕绉�!"); - return false; - } - ql = new Yw.Geometry.CubicSpline2d(_pt_ql_list); - + pt_list = _pt_ql_list; return true; } } -- Gitblit v1.9.3