From 9242291f2a1d7c7186f502d451f77f601af194d0 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 30 十二月 2024 14:44:19 +0800 Subject: [PATCH] 修改导入 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs | 39 --------------------------------------- 1 files changed, 0 insertions(+), 39 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs index f437feb..1ec4c8a 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs @@ -17,7 +17,6 @@ this.PageTitle.SvgImageSize = new Size(24, 24); this.simulationFunctionMgrCtrl1.ShowProjectSiteInfoEvent += SimulationFunctionMgrCtrl1_ShowProjectSiteInfoEvent; this.simulationFunctionMgrCtrl1.ShowProjectSiteSimulationEvent += SimulationFunctionMgrCtrl1_ShowProjectSiteSimulationEvent; - this.simulationFunctionMgrCtrl1.ShowProjectSiteWorkingEvent += SimulationFunctionMgrCtrl1_ShowProjectSiteWorkingEvent; this.simulationFunctionMgrCtrl1.ProjectSiteWorkingAppendEvent += SimulationFunctionMgrCtrl1_ProjectSiteWorkingAppendEvent; this.simulationFunctionMgrCtrl1.ProjectSiteWorkingUpdateEvent += SimulationFunctionMgrCtrl1_ProjectSiteWorkingUpdateEvent; this.simulationFunctionMgrCtrl1.ProjectSiteWorkingRemoveEvent += SimulationFunctionMgrCtrl1_ProjectSiteWorkingRemoveEvent; @@ -146,44 +145,6 @@ this.simulationFunctionMgrCtrl1.RemoveScheme(rhs); }; page.SetBindingData(project, projectSite, scheme, hydroInfo, allWorkingCheckedListDict); - CreatePage(page, guid); - } - } - } - - //鏄剧ず椤圭洰绔欏伐鍐典簨浠� - private void SimulationFunctionMgrCtrl1_ShowProjectSiteWorkingEvent - ( - XhsProjectVmo project, - XhsProjectSiteVmo projectSite, - XhsSchemeVmo scheme, - Yw.Model.HydroModelInfo hydroInfo, - HydroWorkingVmo working, - SvgImage svgImage - ) - { - lock (_locker) - { - var guid = new PageGuid() - { - Modular = this.PageGuid.Modular, - MoudingType = eMoudingType.Tab, - Function = SimulationFunctionHelper.Working, - TagName = $"{project.ID}-{projectSite.ID}-{scheme?.ID}-{working.ID}" - }; - if (!IsExistPage(guid, true)) - { - var page = new XhsProjectSimulationWorkingPage(); - page.UpdateWorkingEvent += (rhs) => - { - this.simulationFunctionMgrCtrl1.UpdateWorking(scheme, rhs); - }; - page.RemoveWorkingEvent += (rhs) => - { - this.simulationFunctionMgrCtrl1.RemoveWorking(scheme, rhs); - }; - page.PageTitle.HeaderSvgImage = svgImage; - page.SetBindingData(project, projectSite, scheme, hydroInfo, working); CreatePage(page, guid); } } -- Gitblit v1.9.3