duheng
2025-03-27 d2ccacb3317aa6310f1b1bb5eb19fbdecba39ff9
Desktop/PBS.Desktop/MainForm.cs
@@ -1286,6 +1286,23 @@
                                CreatePage(page,guid);
                            }
                        }),
                        Get("电费配置",new PageGuid()
                        {
                            Modular = "BasicData",
                            MoudingType = eMoudingType.Tab,
                            Function = "ElecPriceMgr",
                        }, svgImgItem32[12], new Size(18, 18), (caption,guid,svg,size) =>
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page=new  ElecPriceMgr();
                                page.PageGuid = guid;
                                page.PageTitle.Caption = caption;
                                page.PageTitle.HeaderSvgImage = svg;
                                page.PageTitle.SvgImageSize = size;
                                CreatePage(page,guid);
                            }
                        }),
                     }
                        };
@@ -1429,7 +1446,7 @@
                        {
                            Modular = "ModelManage",
                            MoudingType = eMoudingType.Tab,
                            Function = " ",
                            Function = "ModelTemplate",
                        }, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) =>
                        {
                            if (!IsExistPage(guid, true))
@@ -1446,22 +1463,34 @@
                        {
                            Modular = "ModelManage",
                            MoudingType = eMoudingType.Tab,
                            Function = " ",
                            Function = "QuickModeling",
                        }, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) =>
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page = new QuickModelingPage();
                                page.PageGuid = guid;
                                page.PageTitle.Caption = caption;
                                page.PageTitle.HeaderSvgImage = svg;
                                page.PageTitle.SvgImageSize = size;
                                CreatePage(page, guid);
                            }
                        });
                        var modelEdit = Get("模型编辑", new PageGuid()
                        {
                            Modular = "ModelManage",
                            MoudingType = eMoudingType.Tab,
                            Function = " ",
                            Function = "ModelEdit",
                        }, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) =>
                        {
                            if (!IsExistPage(guid, true))
                            {
                                var page = new ModelEditPage();
                                page.PageGuid = guid;
                                page.PageTitle.Caption = caption;
                                page.PageTitle.HeaderSvgImage = svg;
                                page.PageTitle.SvgImageSize = size;
                                CreatePage(page, guid);
                            }
                        });
                        list.Add(hydraulicScenario);
@@ -1588,7 +1617,7 @@
                            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();
@@ -1612,7 +1641,7 @@
                            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))
                            {
@@ -1629,7 +1658,7 @@
                        {
                            Id = "monitor",
                            Caption = "监测分析",
                            SvgImage = svgImgGroup32[0],
                            SvgImage = svgImageIBox[4],
                            SvgImageSize = new Size(24, 24),
                            AllowGlyphSkinning = true,
                            Elements = new List<AccordionElement>()
@@ -1639,7 +1668,7 @@
                            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))
                            {
@@ -1656,7 +1685,7 @@
                            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))
                            {
@@ -1675,7 +1704,7 @@
                        {
                            Id = "management",
                            Caption = "数据管理",
                            SvgImage = svgImgGroup32[0],
                            SvgImage = svgImageIBox[9],
                            SvgImageSize = new Size(24, 24),
                            AllowGlyphSkinning = true,
                            Elements = new List<AccordionElement>()
@@ -1685,7 +1714,7 @@
                            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))
                            {
@@ -1702,7 +1731,7 @@
                            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))
                            {
@@ -1719,7 +1748,7 @@
                            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))
                            {
@@ -1736,7 +1765,7 @@
                            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))
                            {
@@ -1745,7 +1774,6 @@
                                page.PageTitle.Caption = caption;
                                page.PageTitle.HeaderSvgImage = svg;
                                page.PageTitle.SvgImageSize = size;
                                CreatePage(page, guid);
                            }
                        }),/*Get("智控数据", new PageGuid()
@@ -1790,7 +1818,7 @@
                            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))
                            {
@@ -1806,7 +1834,7 @@
                            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))
                            {