From ebd031e3bed6c1cfddce8fc9b98f7f9e95fb9e32 Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期一, 04 十一月 2024 17:33:38 +0800 Subject: [PATCH] 添加OCC融合 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/断面设计/ctrlSectionShapeInfo18.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionShapeInfo18.cs" "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionShapeInfo18.cs" index d0db1db..a849c65 100644 --- "a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionShapeInfo18.cs" +++ "b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/\346\226\255\351\235\242\350\256\276\350\256\241/ctrlSectionShapeInfo18.cs" @@ -1,4 +1,4 @@ -锘縰sing DPumpHydr.WinFrmUI.RLT.Controls; +锘� using System; using System.Collections.Generic; using System.ComponentModel; @@ -11,12 +11,12 @@ using System.Threading.Tasks; using System.Windows.Forms; -namespace DPumpHydr.WinFrmUI.Volute +namespace DPumpHydr.WinFrmUI.Volute { /// <summary> /// 1-8鏂潰璁捐 /// </summary> - public partial class ctrlSectionShapeInfo18 : UserControl + public partial class ctrlSectionShapeInfo18 : ParasInfoBaseCtrl { public ctrlSectionShapeInfo18() { @@ -51,7 +51,7 @@ error = null; if (_paras == null) { - _paras = new ViewModel.SectionShapePara(); + return null; } _paras.Gama_Left = Convert.ToDouble(this.mTextBoxEdity1.Text); _paras.Gama_Right = Convert.ToDouble(this.mTextBoxEdity2.Text); @@ -61,6 +61,10 @@ _paras.R_out = Convert.ToDouble(this.mTextBoxEditR4.Text); return _paras; } + + public Action OnRefreshShape = null; + + public bool Verify(out string error) { error = ""; @@ -115,6 +119,8 @@ } return isOk; } + + private void BuildIcon() { //鏂潰褰㈢姸鍥剧墖 -- Gitblit v1.9.3