yangyin
2024-12-16 b4c867bf85d3edef5d084a3a26f13cbc6784bf58
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);
            }