From 36616eb44dc36a4e6e3e7a7540310cb850218ea9 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期一, 13 一月 2025 17:38:04 +0800 Subject: [PATCH] 更改断面输入高亮显示 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/StepInfo/StepTreeDockPanel.cs | 31 ++++++++++--------------------- 1 files changed, 10 insertions(+), 21 deletions(-) diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/StepInfo/StepTreeDockPanel.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/StepInfo/StepTreeDockPanel.cs index f25b03e..b3a89ce 100644 --- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/StepInfo/StepTreeDockPanel.cs +++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/StepInfo/StepTreeDockPanel.cs @@ -16,8 +16,7 @@ private readonly string Group_Name_Base_Info = "BaseInfo"; private readonly int Group_ID_Base_Info = -1;//缁処D 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) @@ -30,7 +29,7 @@ //鍑烘按璁捐 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_Paras = 32; public readonly long Step_ID_Outflow_Type = 31; public readonly long Step_ID_jiahout = 33; @@ -154,17 +153,7 @@ 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 @@ -190,7 +179,7 @@ }; step鏂潰鍩烘湰淇℃伅.AllowSelect = true ; step鏂潰鍩烘湰淇℃伅.Caption = string.Format("{0}:{1}", - GetTranslateString("绗笁姝�"), + GetTranslateString("绗簩姝�"), GetTranslateString("鏂潰淇℃伅")); step鏂潰鍩烘湰淇℃伅.Name = "SectBaseInfo18"; step鏂潰鍩烘湰淇℃伅.ID = Step_ID_Section18_Full; @@ -204,7 +193,7 @@ 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; @@ -250,7 +239,7 @@ DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.鏈煡 }; step鍑烘按浣撳昂瀵�.AllowSelect = true; - step鍑烘按浣撳昂瀵�.Caption = " 绗簲姝�:鍑烘按浣撶被鍨�"; + step鍑烘按浣撳昂瀵�.Caption = " 绗洓姝�:鍑烘按浣撶被鍨�"; step鍑烘按浣撳昂瀵�.Name = "TreeStepNode" + Step_ID_Outflow_Type; step鍑烘按浣撳昂瀵�.ID = Step_ID_Outflow_Type; step鍑烘按浣撳昂瀵�.ParentID = Group_ID_Outflow; @@ -265,9 +254,9 @@ DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.鏈煡 }; step鍑烘按浣撶被鍨�.AllowSelect = true; - step鍑烘按浣撶被鍨�.Caption = "绗叚姝�:鍑烘按浣撳昂瀵�"; - step鍑烘按浣撶被鍨�.Name = "TreeStepNode" + Step_ID_Outflow_Style; - step鍑烘按浣撶被鍨�.ID = Step_ID_Outflow_Style; + step鍑烘按浣撶被鍨�.Caption = "绗簲姝�:鍑烘按浣撳昂瀵�"; + step鍑烘按浣撶被鍨�.Name = "TreeStepNode" + Step_ID_Outflow_Paras; + step鍑烘按浣撶被鍨�.ID = Step_ID_Outflow_Paras; step鍑烘按浣撶被鍨�.ParentID = Group_ID_Outflow; _allStepNodes.Add(step鍑烘按浣撶被鍨�); @@ -278,7 +267,7 @@ DataState = WinFrmUI.Base.StepTreeNodePara.eDataState.鏈煡 }; step鍔犲帤.AllowSelect = true; - step鍔犲帤.Caption = "绗竷姝�:姘翠綋鍔犲帤"; + step鍔犲帤.Caption = "绗叚姝�:姘翠綋鍔犲帤"; step鍔犲帤.Name = "TreeStepNode" + Step_ID_jiahout; step鍔犲帤.ID = Step_ID_jiahout; step鍔犲帤.ParentID = Group_ID_Outflow; -- Gitblit v1.9.3