ningshuxia
2025-04-03 4917fb959e2befec07a693e72d7010c09494ec7c
02-desktop/Desktop/IStation.Desktop.Ch2/Func/FuncCreater.cs
@@ -1,5 +1,4 @@
using IStation.WinFrmUI.Monitor;
using IStation.WinFrmUI.Properties;
using IStation.WinFrmUI.Properties;
using System.Collections.Generic;
@@ -20,7 +19,7 @@
            var monitorPoint = new FuncElement("监测点", dll, "IStation.WinFrmUI.Basic.MonitorPointMgrPage", modular, Resources.MonitorPoint);
            var equipmentMonitorMapping = new FuncElement("测点关联", dll, "IStation.WinFrmUI.Basic.EquipmentMonitorMappingMgrPage", modular, Resources.Mapping);
            return new List<FuncElement>() { station, equipment, pumpCurveMgr, monitorPoint, equipmentMonitorMapping };
        }
        }
        public static List<FuncElement> CurveAnaly()
        {
            var modular = WinFrmUI.eModular.Analy;
@@ -32,7 +31,7 @@
            var parallelCurvePage = new FuncElement("曲线并联", dataDLL, $"{nameSpace}.ParallelCurvePage", modular, Resources.Parallel);
            return new List<FuncElement>() { multiSpeedCurvePage, compareCurvePage, parallelCurvePage };
        }
        public static List<FuncElement> Monitor()
        {
            var modular = WinFrmUI.eModular.Monitor;
@@ -41,8 +40,9 @@
            var dataSources = new FuncElement("数据来源", dll, $"{nameSpace}.MonitorDataSourcesMgrPage", modular, Resources.MonitorDataSources);
            var dataScreening = new FuncElement("数据筛查", dll, $"{nameSpace}.DataScreeningPage", modular, Resources.DataScreening);
            var dataCompare = new FuncElement("数据比较", dll, $"{nameSpace}.DataComparePage", modular, Resources.DataCompare);
            return new List<FuncElement>() { dataSources, dataScreening, dataCompare };
            var dataCompare = new FuncElement("数据比较", dll, $"{nameSpace}.DataComparePage", modular, Resources.DataCompare);
            var curveAnalyzePacketEasyMgrPage = new FuncElement("曲线分析(简易)", dll, $"{nameSpace}.CurveAnalyzePacketEasyMgrPage", modular, Resources.DataCompare);
            return new List<FuncElement>() { dataSources, dataScreening, dataCompare, curveAnalyzePacketEasyMgrPage };
        }
        public static List<FuncElement> WorkingConditionAnalysis()
@@ -59,17 +59,18 @@
            var modelCorrectionCompare = new FuncElement("模型修正对比", dll, $"{nameSpace}.ModelCorrectionComparePage", modular, Resources.HydraulicModel);
            var scheduleCalcPage = new FuncElement("调度分析", dll, $"{nameSpace}.ScheduleCalcPage", modular, Resources.WorkPumpCurve);
            var operationalAnalysis = new FuncElement("运行视图", dll, $"{nameSpace}.OperationalViewPage", modular, Resources.OperationalAnalysis);
            var stationRelationship  = new FuncElement("泵站关系", dll, $"{nameSpace}.StationRelationshipPage", modular, Resources.OperationalAnalysis);
            //var scadaVerify = new FuncElement("工况验证", dll, $"{nameSpace}.ScadaVerifyPage", modular, Resources.CurveAnalyze);
            //var scadaValueVerify = new FuncElement("Scada验证", dll, $"{nameSpace}.ScadaValueVerifyPage", modular, Resources.CurveAnalyze);
            //var scadaStatisticsPage = new FuncElement("Scada统计", dll, $"{nameSpace}.ScadaStatisticsPage", modular, Resources.CurveAnalyze);
            //var scadaAvgDiffVerify = new FuncElement("工况均差验证", dll, $"{nameSpace}.ScadaDiffPage", modular, Resources.CurveAnalyze);
            return new List<FuncElement>() { dataIntegration, dataVerification, dataCorrection, modelCorrection, modelCorrectionCombine, modelCorrectionCompare, scheduleCalcPage, operationalAnalysis };
            return new List<FuncElement>() { dataIntegration, dataVerification, dataCorrection, modelCorrection, modelCorrectionCombine, modelCorrectionCompare, scheduleCalcPage, operationalAnalysis, stationRelationship };
            //return new List<FuncElement>() { dataIntegration, dataVerification, dataCorrection, modelCorrection, modelCorrectionCombine, operationalAnalysis, scadaVerify, scadaAvgDiffVerify, scadaValueVerify, scadaStatisticsPage };
        }
        public static List<FuncElement> GetFuncElements()
        {
            var basic = new FuncElement("基础数据", Basic(), Resources.Menu);