From cc89c6b8112cfccd270951a9177c6ac0e5307d79 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期二, 29 十月 2024 17:12:12 +0800 Subject: [PATCH] 优化颜色分级配置 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs | 27 ++++++++++----------------- 1 files changed, 10 insertions(+), 17 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs index fcdb49e..3d46d64 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/XhsProjectSimulationCorePage.cs @@ -457,7 +457,7 @@ return _checkCtrl; } - //鏄剧ず鏍¢獙鎺т欢 + //鏄剧ず妫�鏌ユ帶浠� private void ShowCheckCtrl() { if (_checkResult == null) @@ -469,12 +469,12 @@ this.controlContainerBottom.Controls.Clear(); this.controlContainerBottom.Controls.Add(checkCtrl); this.docPnlBottom.Visibility = DevExpress.XtraBars.Docking.DockVisibility.Visible; - this.docPnlBottom.Text = "鏍¢獙缁撴灉"; + this.docPnlBottom.Text = "妫�鏌ョ粨鏋�"; this.docPnlBottom.Height = 350; } - //姘村姏楠岃瘉 + //姘村姏妫�鏌� private void barBtnHydroCheck_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (_hydroInfo == null) @@ -1007,7 +1007,7 @@ } - var dlg = new PumpParallelChartDlg(); + var dlg = new PumpParallelAnalyDlg(); dlg.SetBindingData(vmList); dlg.ReloadDataEvent += (list) => { @@ -1082,10 +1082,7 @@ } }; - if (dlg.ShowDialog() == DialogResult.Cancel) - { - await _bimfaceCtrl?.ClearLogicCalcuCustomLabels(); - } + dlg.ShowDialog(); } #endregion @@ -1379,7 +1376,7 @@ private List<HydroMarkSetViewModel> _allMarkList = null; //鏄剧ず鏍囨敞绐椾綋 - private async void ShowMarkDlg() + private void ShowMarkDlg() { if (_hydroInfo == null) { @@ -1435,17 +1432,13 @@ } } var dlg = new SetHydroMarkDlg(); - dlg.InitialData(() => _hydroInfo); - dlg.SetBindingData(_allMarkList); + dlg.SetBindingData(_hydroInfo, _allMarkList); dlg.ReloadDataEvent += async (allResultList) => { - var leadLabels = allResultList?.Select(x => new LogicMarkLeadLabel(x.Code, x.Text)).ToList(); + var leadLabels = allResultList?.Select(x => new LogicMarkLeadLabel(x.Code, x.Text, 100000)).ToList(); await _bimfaceCtrl?.SetLogicMarkLeadLabels(leadLabels); }; - if (dlg.ShowDialog() != DialogResult.OK) - { - await _bimfaceCtrl?.ClearLogicMarkLeadLabels(); - } + dlg.ShowDialog(); } //璁剧疆鏍囨敞 @@ -1470,7 +1463,7 @@ { return; } - var dlg = new SetHydroGradingModelDlg(); + var dlg = new SetHydroGradingModelTreeDlg(); dlg.SetBindingData(_hydroInfo.ID); dlg.ShowDialog(); } -- Gitblit v1.9.3