From b4c867bf85d3edef5d084a3a26f13cbc6784bf58 Mon Sep 17 00:00:00 2001
From: yangyin <1850366751@qq.com>
Date: 星期一, 16 十二月 2024 13:37:21 +0800
Subject: [PATCH] 提交

---
 WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs |   29 ++++++++++++++++++++++++-----
 1 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs
index 9365df7..25008cd 100644
--- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs
+++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs
@@ -24,7 +24,8 @@
         ViewModel.HdrBaseInfo _hdrBaseInfo = null;
         ViewModel.GeomBaseInfo _geomBaseInfo = null;
         ViewModel.SectionBundleInfo _sectionBundleInfo = null;
-       
+        ViewModel.eOutflowStyle _type ;
+
 
         /// <summary>
         /// 涓嬩竴姝�
@@ -223,7 +224,8 @@
 
 
                 _ctrlHdrBaseInfo.SetBindingData(_hdrBaseInfo);
-                AddStepParaCtrl(_ctrlHdrBaseInfo);
+                AddStepParaCtrl(_ctrlHdrBaseInfo); 
+                this._sectAreaDockPanel.Visible = false;
             }
 
             //绗簩姝�
@@ -236,9 +238,10 @@
                 }
                 _ctrlGeomBaseInfo.SetBindingData(_geomBaseInfo);
                 AddStepParaCtrl(_ctrlGeomBaseInfo);
+                this._sectAreaDockPanel.Visible = false;
             }
 
-            //绗笁姝�
+            //绗笁姝� 鏂潰鎬昏
             if (step_id == this._stepTreeDockPanel.Step_ID_Section18_Full)
             {
                 if (_ctrlSectionBundleInfo == null)
@@ -251,9 +254,11 @@
                 _ctrlSectionBundleInfo.InitialParas(_hdrBaseInfo, _geomBaseInfo);
                 _ctrlSectionBundleInfo.SetBindingData(_sectionBundleInfo);
                 RefreshSectShapeWhole18(_sectionBundleInfo);
+                this._sectAreaDockPanel.RefreshControl();
+                this._sectAreaDockPanel.Visible = true;
             }
 
-            //绗洓姝�
+            //绗洓姝� 1-8鏂潰
             if (step_id > this._stepTreeDockPanel.Step_ID_Section18_Grp &&
                 step_id <= this._stepTreeDockPanel.Step_ID_Section18_Grp + 8)
             {
@@ -268,10 +273,13 @@
                 AddStepParaCtrl(_ctrlSectionShapeInfo18);
                 var sect_index = 9 + this._stepTreeDockPanel.Step_ID_Section18_Grp - step_id;
                 var shape_info = _sectionBundleInfo.ToSectionShapePara((int)sect_index);
-
+                RefreshSectShapeSingle18(shape_info);
                 _ctrlSectionShapeInfo18.SetBindingData(shape_info);
+                this._sectAreaDockPanel.RefreshControl();
+                this._sectAreaDockPanel.Visible = true;
             }
 
+            //鍑烘按闈㈢被鍨嬮�夋嫨
             if (step_id == this._stepTreeDockPanel.Step_ID_Outflow_Type)
             {
                 if (_ctrlSetOutflowType == null)
@@ -279,11 +287,15 @@
                     _ctrlSetOutflowType = new ctrlSetOutflowType();
                     _ctrlSetOutflowType.Name = "ctrlSetOutflowDim";
                 }
+                this._sectAreaDockPanel.Visible = true;
+                this._sectAreaDockPanel.RefreshControl();
                 AddStepParaCtrl(_ctrlSetOutflowType);
             }
 
+            //鍑烘按闈㈠弬鏁�
             if (step_id == this._stepTreeDockPanel.Step_ID_Outflow_Style)
             {
+                _type = _ctrlSetOutflowType.GetBindingData();
                 if (_ctrlSetOutflowStyle == null)
                 {
                     _ctrlSetOutflowStyle = new ctrlSetOutflowStyle();
@@ -295,6 +307,13 @@
                         _occDesign3dCtrl.CreateOutflowBody(pt);
                     }
                 }
+
+                
+                
+                
+                _ctrlSetOutflowStyle.SetBindingData(_type);
+                this._sectAreaDockPanel.RefreshControl();
+                this._sectAreaDockPanel.Visible = true;
                 AddStepParaCtrl(_ctrlSetOutflowStyle);
             }
 

--
Gitblit v1.9.3