duheng
2024-10-15 21d9f7bcbe8c82d2af9dbdc18f189a3bb1672d74
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs
@@ -19,6 +19,7 @@
            this.xhsProjectSimulationFunctionMgrCtrl1.ShowXhsProjectSimulationEvent += XhsProjectSimulationFunctionMgrCtrl1_ShowXhsProjectSimulationEvent;
            this.xhsProjectSimulationFunctionMgrCtrl1.CreateXhsProjectSchemeEvent += XhsProjectSimulationFunctionMgrCtrl1_CreateXhsProjectSchemeEvent;
            this.xhsProjectSimulationFunctionMgrCtrl1.CompareXhsProjectSchemeEvent += XhsProjectSimulationFunctionMgrCtrl1_CompareXhsProjectSchemeEvent;
            PumpFullInfoViewDlg.JumpPumpFullInfoCtrl += ShowPumpInfo;
        }
        private long _projectId;//项目id
@@ -88,7 +89,6 @@
                await page.SetBindingData(_project, _projectSite, _hydroInfo);
                CreatePage(page, guid);
            }
        }
        //显示水力模拟事件
@@ -130,7 +130,7 @@
            TipFormHelper.ShowWarn("正在开发中,敬请期待...");
        }
        #endregion
        #endregion 功能面板
        #region TabbedView 相关事件处理程序
@@ -412,5 +412,19 @@
        }
        #endregion Page
        private void ShowPumpInfo(PumpFullInfoCtrl pumpFullInfoCtrl)
        {
            var guid = new PageGuid()
            {
                Modular = this.PageGuid.Modular,
                MoudingType = eMoudingType.Tab,
                Function = "xhs-project-pump-info",
            };
            if (!IsExistPage(guid, true))
            {
                CreatePage(pumpFullInfoCtrl, guid);
            }
        }
    }
}