| | |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.ShowXhsProjectSimulationEvent += XhsProjectSimulationFunctionMgrCtrl1_ShowXhsProjectSimulationEvent; |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.CreateXhsProjectSchemeEvent += XhsProjectSimulationFunctionMgrCtrl1_CreateXhsProjectSchemeEvent; |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.CompareXhsProjectSchemeEvent += XhsProjectSimulationFunctionMgrCtrl1_CompareXhsProjectSchemeEvent; |
| | | PumpFullInfoViewDlg.JumpPumpFullInfoCtrl += ShowPumpInfo; |
| | | } |
| | | |
| | | private long _projectId;//项目id |
| | |
| | | await page.SetBindingData(_project, _projectSite, _hydroInfo); |
| | | CreatePage(page, guid); |
| | | } |
| | | |
| | | } |
| | | |
| | | //显示水力模拟事件 |
| | |
| | | { |
| | | return; |
| | | } |
| | | var dlg = new AddXhsProjectSimulationSchemeDlg(); |
| | | await dlg.SetBindingData(_projectSite.ID); |
| | | dlg.ReloadDataEvent += (scheme) => |
| | | { |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.AppendScheme(scheme); |
| | | }; |
| | | //var dlg = new AddXhsProjectSimulationSchemeDlg(); |
| | | //await dlg.SetBindingData(_projectSite.ID); |
| | | //dlg.ReloadDataEvent += (scheme) => |
| | | //{ |
| | | // this.xhsProjectSimulationFunctionMgrCtrl1.AppendScheme(scheme); |
| | | //}; |
| | | //dlg.ShowDialog(); |
| | | |
| | | var dlg = new AddXhsSchemeDlg(); |
| | | await dlg.SetBindingData(_project, _projectSite, _hydroInfo); |
| | | dlg.ShowDialog(); |
| | | } |
| | | |
| | |
| | | TipFormHelper.ShowWarn("正在开发中,敬请期待..."); |
| | | } |
| | | |
| | | #endregion |
| | | #endregion 功能面板 |
| | | |
| | | #region TabbedView 相关事件处理程序 |
| | | |
| | |
| | | } |
| | | |
| | | #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); |
| | | } |
| | | } |
| | | } |
| | | } |