| | |
| | | using HStation.WinFrmUI.Assets; |
| | | using HStation.WinFrmUI.Basic; |
| | | using HStation.WinFrmUI.Dict; |
| | | using IBox.WinFrmUI; |
| | | using PBS.WinFrmUI; |
| | | using PBS.WinFrmUI.Box; |
| | | using PBS.WinFrmUI.DataAnalysis; |
| | |
| | | ctrl_ele.OwnerElement.Expanded = true; |
| | | this.accordionControlFunction.Refresh(); |
| | | } |
| | | //if (!IsExistPage(pguid, true)) |
| | | //{ |
| | | // ele.Click.Invoke(); |
| | | //} |
| | | return true; |
| | | } |
| | | else |
| | |
| | | page.PageTitle.Caption = caption; |
| | | page.PageTitle.HeaderSvgImage = svg; |
| | | page.PageTitle.SvgImageSize = size; |
| | | CreatePage(page, guid); |
| | | CreatePage(page, guid); |
| | | } |
| | | }); |
| | | list.Add(hydraulicScenario); |
| | |
| | | CreatePage(page, guid); |
| | | } |
| | | }); |
| | | //var simulationDrill = Get("模拟调度", new PageGuid() |
| | | //{ |
| | | // Modular = "WaterSupplyAnalysis", |
| | | // MoudingType = eMoudingType.Tab, |
| | | // Function = "SimulationSchedule", |
| | | //}, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) => |
| | | //{ |
| | | // if (!IsExistPage(guid, true)) |
| | | // { |
| | | // var page = new SimulationSchedulePage(); |
| | | // page.PageGuid = guid; |
| | | // page.PageTitle.Caption = caption; |
| | | // page.PageTitle.HeaderSvgImage = svg; |
| | | // page.PageTitle.SvgImageSize = size; |
| | | // CreatePage(page, guid); |
| | | // } |
| | | //}); |
| | | var forecastWater = Get("水量预测", new PageGuid() |
| | | { |
| | | Modular = "WaterSupplyAnalysis", |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "FlowPressAnalysis", |
| | | }, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[7], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | var dlg = new PBS.WinFrmUI.Box.ChoiceFacilityDlg(); |
| | | dlg.SetDataSource(); |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "IBoxInfo", |
| | | }, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[10], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | { |
| | | Id = "monitor", |
| | | Caption = "监测分析", |
| | | SvgImage = svgImgGroup32[0], |
| | | SvgImage = svgImageIBox[4], |
| | | SvgImageSize = new Size(24, 24), |
| | | AllowGlyphSkinning = true, |
| | | Elements = new List<AccordionElement>() |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "MonitorMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[3], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "AnalysisMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[1], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | { |
| | | Id = "management", |
| | | Caption = "数据管理", |
| | | SvgImage = svgImgGroup32[0], |
| | | SvgImage = svgImageIBox[9], |
| | | SvgImageSize = new Size(24, 24), |
| | | AllowGlyphSkinning = true, |
| | | Elements = new List<AccordionElement>() |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "ProtocolMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[11], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "MonitorConfigurationMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[5], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "DataFilterMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | },svgImageIBox[8], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "ParameterMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[0], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "BasicInfoMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |
| | |
| | | Modular = "SmartHardware", |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = "LogManagentMgr", |
| | | }, svgImgItem32[2], new Size(18, 18), (caption, guid, svg, size) => |
| | | }, svgImageIBox[6], new Size(18, 18), (caption, guid, svg, size) => |
| | | { |
| | | if (!IsExistPage(guid, true)) |
| | | { |