| | |
| | | using DevExpress.Drawing; |
| | | using DevExpress.Utils.Svg; |
| | | using DevExpress.Utils.Svg; |
| | | using DevExpress.XtraBars.Docking; |
| | | using DevExpress.XtraBars.Docking2010.Views; |
| | | using Yw.Vmo; |
| | |
| | | //增加工况事件 |
| | | this.simulationFunctionMgrCtrl1.AppendWorking(scheme, working); |
| | | }; |
| | | page.SaveModelEvent += (rhs) => |
| | | { |
| | | //保存模型事件 |
| | | return this.simulationFunctionMgrCtrl1.SaveModel(scheme, rhs); |
| | | }; |
| | | page.RefreshModelEvent += () => |
| | | { |
| | | //刷新模型事件 |
| | |
| | | Modular = this.PageGuid.Modular, |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = SimulationFunctionHelper.Simulation, |
| | | TagName = projectSite.ID.ToString() |
| | | TagName = $"{project.ID}-{projectSite.ID}-{scheme?.ID}" |
| | | }; |
| | | var page = FindPage(guid); |
| | | if (page == null) |
| | |
| | | Modular = this.PageGuid.Modular, |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = SimulationFunctionHelper.Simulation, |
| | | TagName = projectSite.ID.ToString() |
| | | TagName = $"{project.ID}-{projectSite.ID}-{scheme?.ID}" |
| | | }; |
| | | var page = FindPage(guid); |
| | | if (page == null) |