Shuxia Ning
2024-12-05 1e9a72970e30b74b8f0cb7c74e2bec9df1aa1d22
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)
        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;
        }
    }