| | |
| | | private readonly string Group_Name_Base_Info = "BaseInfo"; |
| | | private readonly int Group_ID_Base_Info = -1;//组ID |
| | | public readonly long Step_ID_Introduce = 11; |
| | | public readonly long Step_ID_Hdr_Base_Info = 12; |
| | | public readonly long Step_ID_Geom_Base_Info = 13; |
| | | public readonly long Step_ID_Hdr_Base_Info = 12; |
| | | |
| | | |
| | | //断面设计(1-8) |
| | |
| | | //出水设计 |
| | | private readonly string Group_Name_Outflow = "Outflow"; |
| | | private readonly int Group_ID_Outflow = -3; |
| | | public readonly long Step_ID_Outflow_Style = 31; |
| | | public readonly long Step_ID_Outflow_Dim = 32; |
| | | |
| | | public readonly long Step_ID_Outflow_Paras = 32; |
| | | public readonly long Step_ID_Outflow_Type = 31; |
| | | public readonly long Step_ID_jiahout = 33; |
| | | |
| | | // |
| | | private List<DPumpHydr.WinFrmUI.Base.StepTreeNodePara> _allStepNodes = null; |
| | |
| | | step基础信息.ParentID = Group_ID_Base_Info; |
| | | _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 = "StepGeomParas"; |
| | | step几何参数.ID = Step_ID_Geom_Base_Info; |
| | | step几何参数.ParentID = Group_ID_Base_Info; |
| | | _allStepNodes.Add(step几何参数); |
| | | |
| | | #endregion |
| | | |
| | | |
| | |
| | | }; |
| | | step断面基本信息.AllowSelect = true ; |
| | | step断面基本信息.Caption = string.Format("{0}:{1}", |
| | | GetTranslateString("第三步"), |
| | | GetTranslateString("第二步"), |
| | | GetTranslateString("断面信息")); |
| | | step断面基本信息.Name = "SectBaseInfo18"; |
| | | step断面基本信息.ID = Step_ID_Section18_Full; |
| | |
| | | DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.未知 |
| | | }; |
| | | stepSetct18.AllowSelect = false ; |
| | | stepSetct18.Caption = "第四步: 第1-8断面"; |
| | | stepSetct18.Caption = "第三步: 第1-8断面"; |
| | | stepSetct18.Name = "TreeStepNode" + Step_ID_Section18_Grp; |
| | | stepSetct18.ID = Step_ID_Section18_Grp; |
| | | stepSetct18.ParentID = Group_ID_Section18; |
| | |
| | | _allStepNodes.Add(stepGroup_出水体); |
| | | |
| | | |
| | | 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() |
| | | { |
| | |
| | | DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.未知 |
| | | }; |
| | | step出水体尺寸.AllowSelect = true; |
| | | step出水体尺寸.Caption = "第六步:出水体尺寸"; |
| | | step出水体尺寸.Name = "TreeStepNode" + Step_ID_Outflow_Dim; |
| | | step出水体尺寸.ID = Step_ID_Outflow_Dim; |
| | | 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_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_jiahout; |
| | | step加厚.ID = Step_ID_jiahout; |
| | | step加厚.ParentID = Group_ID_Outflow; |
| | | _allStepNodes.Add(step加厚); |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | // |
| | | this._currentStepID = Step_ID_Hdr_Base_Info; |