tangxu
2025-02-26 2fc64c1af548596c4719d4a3abdc10de7a1d7e8f
WinFrmUI/DPumpHydr.WinFrmUI.Volute/StepInfo/StepTreeDockPanel.cs
@@ -29,9 +29,8 @@
        //出水设计
        private readonly string Group_Name_Outflow = "Outflow";
        private readonly int Group_ID_Outflow = -3;
        public readonly long Step_ID_Outflow_Style = 32;
        public readonly long Step_ID_Outflow_Type = 31;
        public readonly long Step_ID_jiahout = 33;
        public readonly long Step_ID_Outflow_Paras = 32;
        public readonly long Step_ID_Thickness = 33;
        //
        private List<DPumpHydr.WinFrmUI.Base.StepTreeNodePara> _allStepNodes = null;
@@ -233,32 +232,34 @@
            //var step出水体尺寸 = new DPumpHydr.WinFrmUI.Base.StepTreeNodePara()
            //{
            //    ProgressState = WinFrmUI.Base.StepTreeNodePara.eProgressState.未完成,
            //    DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.未知
            //};
            //step出水体尺寸.AllowSelect = true;
            //step出水体尺寸.Caption = " 第四步:出水体类型";
            //step出水体尺寸.Name = "TreeStepNode" + Step_ID_Outflow_Type;
            //step出水体尺寸.ID = Step_ID_Outflow_Type;
            //step出水体尺寸.ParentID = Group_ID_Outflow;
            //_allStepNodes.Add(step出水体尺寸);
            var step出水体尺寸 = new DPumpHydr.WinFrmUI.Base.StepTreeNodePara()
            {
                ProgressState = WinFrmUI.Base.StepTreeNodePara.eProgressState.未完成,
                DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.未知
            };
            step出水体尺寸.AllowSelect = true;
            step出水体尺寸.Caption = " 第四步:出水体类型";
            step出水体尺寸.Name = "TreeStepNode" + Step_ID_Outflow_Type;
            step出水体尺寸.ID = Step_ID_Outflow_Type;
            step出水体尺寸.Caption = "第四步:出水体尺寸";
            step出水体尺寸.Name = "TreeStepNode" + Step_ID_Outflow_Paras;
            step出水体尺寸.ID = Step_ID_Outflow_Paras;
            step出水体尺寸.ParentID = Group_ID_Outflow;
            _allStepNodes.Add(step出水体尺寸);
            var step出水体类型 = new DPumpHydr.WinFrmUI.Base.StepTreeNodePara()
            {
                ProgressState = WinFrmUI.Base.StepTreeNodePara.eProgressState.未完成,
                DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.未知
            };
            step出水体类型.AllowSelect = true;
            step出水体类型.Caption = "第五步:出水体尺寸";
            step出水体类型.Name = "TreeStepNode" + Step_ID_Outflow_Style;
            step出水体类型.ID = Step_ID_Outflow_Style;
            step出水体类型.ParentID = Group_ID_Outflow;
            _allStepNodes.Add(step出水体类型);
            
            var step加厚 = new DPumpHydr.WinFrmUI.Base.StepTreeNodePara()
@@ -267,9 +268,9 @@
                DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.未知
            };
            step加厚.AllowSelect = true;
            step加厚.Caption = "第六步:水体加厚";
            step加厚.Name = "TreeStepNode" + Step_ID_jiahout;
            step加厚.ID = Step_ID_jiahout;
            step加厚.Caption = "第五步:水体加厚";
            step加厚.Name = "TreeStepNode" + Step_ID_Thickness;
            step加厚.ID = Step_ID_Thickness;
            step加厚.ParentID = Group_ID_Outflow;
            _allStepNodes.Add(step加厚);