| | |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.ShowProjectSiteSimulationEvent += XhsProjectSimulationFunctionMgrCtrl1_ShowProjectSiteSimulationEvent; |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.ShowProjectSiteWorkingEvent += XhsProjectSimulationFunctionMgrCtrl1_ShowProjectSiteWorkingEvent; |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.ProjectSiteWorkingCheckedEvent += XhsProjectSimulationFunctionMgrCtrl1_ProjectSiteWorkingCheckedEvent; |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.CreateProjectSiteSchemeEvent += XhsProjectSimulationFunctionMgrCtrl1_CreateProjectSiteSchemeEvent; |
| | | } |
| | | |
| | | private XhsProjectVmo _project = null;//项目 |
| | |
| | | ctrl.UpdateWorkingCheckedList(working, hasChecked); |
| | | } |
| | | |
| | | |
| | | |
| | | //创建项目方案事件 |
| | | private void XhsProjectSimulationFunctionMgrCtrl1_CreateProjectSchemeEvent(DevExpress.Utils.Svg.SvgImage svgImage) |
| | | //项目站方案创建事件 |
| | | private async void XhsProjectSimulationFunctionMgrCtrl1_CreateProjectSiteSchemeEvent |
| | | (XhsProjectVmo project, XhsProjectSiteVmo projectSite, DevExpress.Utils.Svg.SvgImage svgImage) |
| | | { |
| | | //if (_projectSite == null) |
| | | //{ |
| | | // return; |
| | | //} |
| | | //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); |
| | | await dlg.SetBindingData(project, projectSite, null); |
| | | dlg.ShowDialog(); |
| | | } |
| | | |
| | | //显示项目方案事件 |
| | | private void XhsProjectSimulationFunctionMgrCtrl1_ShowProjectSchemeEvent(XhsSchemeVmo arg1, DevExpress.Utils.Svg.SvgImage arg2) |
| | | { |
| | | |
| | | } |
| | | |
| | | //比较项目工况事件 |
| | | private void XhsProjectSimulationFunctionMgrCtrl1_CompareProjectWorkingEvent(DevExpress.Utils.Svg.SvgImage obj) |
| | | { |
| | | |
| | | } |
| | | |
| | | //显示项目工况事件 |
| | | private void XhsProjectSimulationFunctionMgrCtrl1_ShowProjectWorkingEvent(HydroWorkingVmo arg1, DevExpress.Utils.Svg.SvgImage arg2) |
| | | { |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |