| | |
| | | using System.Collections.Generic; |
| | | |
| | | |
| | | namespace HStation.Desktop |
| | | { |
| | | /// <summary> |
| | |
| | | //var modular = WinFrmUI.eModular.Basic; |
| | | var main = new List<FuncElement>() |
| | | { |
| | | //new FuncElement("主页", dll, "HStation.WinFrmUI.Basic.MenuMain", modular, resources.User) |
| | | //new FuncElement("主页", dll, "HStation.WinFrmUI.Basic.MenuMain", modular, resources.User) |
| | | }; |
| | | return main; |
| | | return main; |
| | | } |
| | | |
| | | |
| | |
| | | //var modular = WinFrmUI.eModular.Auth; |
| | | var list = new List<FuncElement>() |
| | | { |
| | | // new FuncElement("用户", dll, "HStation.WinFrmUI.Auth.UserMgr", modular, resources.User), |
| | | // new FuncElement("用户", dll, "HStation.WinFrmUI.Auth.UserMgr", modular, resources.User), |
| | | }; |
| | | return list; |
| | | } |
| | |
| | | //var modular = WinFrmUI.eModular.Basic; |
| | | var list = new List<FuncElement>() |
| | | { |
| | | // new FuncElement("行政区域", dll, "HStation.WinFrmUI.Basic.RegionMgr", modular, resources.Question), |
| | | // new FuncElement("建筑类型", dll, "HStation.WinFrmUI.Basic.BuildingTypeMgr", modular, resources.BuildingType), |
| | | // new FuncElement("行政区域", dll, "HStation.WinFrmUI.Basic.RegionMgr", modular, resources.Question), |
| | | // new FuncElement("建筑类型", dll, "HStation.WinFrmUI.Basic.BuildingTypeMgr", modular, resources.BuildingType), |
| | | //new FuncElement("建筑物", dll, "HStation.WinFrmUI.Basic.BuildingMgr", modular, resources.BuildingMgr), |
| | | //new FuncElement("供水单元", dll, "HStation.WinFrmUI.Basic.WaterSupplyUnitMgr", modular, resources.WaterSupplyUnit), |
| | | //new FuncElement("设施", dll, "HStation.WinFrmUI.Basic.FacilitiesMgr", modular, resources.FacilitiesMgr), |
| | |
| | | //var modular = WinFrmUI.eModular.Assets; |
| | | var list = new List<FuncElement>() |
| | | { |
| | | // new FuncElement("厂商", dll, "HStation.WinFrmUI.Assets.SupplierMgr", modular, resources.Supplier), |
| | | // new FuncElement("泵系列", dll, "HStation.WinFrmUI.Assets.PumpSeriesMgr", modular, resources.PumpSeries), |
| | | // new FuncElement("泵型号", dll, "HStation.WinFrmUI.Assets.PumpProductMgr", modular, resources.PumpProduct), |
| | | // new FuncElement("泵型号曲线", dll, "HStation.WinFrmUI.Assets.PumpProductCurveMgrPage", modular, resources.PumpProductCurve), |
| | | // new FuncElement("成套设备系列", dll, "HStation.WinFrmUI.Assets.KitSeriesMgr", modular, resources.KitSeries), |
| | | // new FuncElement("成套设备型号", dll, "HStation.WinFrmUI.Assets.KitProductMgr", modular, resources.KitProduct), |
| | | }; |
| | | // new FuncElement("厂商", dll, "HStation.WinFrmUI.Assets.SupplierMgr", modular, resources.Supplier), |
| | | // new FuncElement("泵系列", dll, "HStation.WinFrmUI.Assets.PumpSeriesMgr", modular, resources.PumpSeries), |
| | | // new FuncElement("泵型号", dll, "HStation.WinFrmUI.Assets.PumpProductMgr", modular, resources.PumpProduct), |
| | | // new FuncElement("泵型号曲线", dll, "HStation.WinFrmUI.Assets.PumpProductCurveMgrPage", modular, resources.PumpProductCurve), |
| | | // new FuncElement("成套设备系列", dll, "HStation.WinFrmUI.Assets.KitSeriesMgr", modular, resources.KitSeries), |
| | | // new FuncElement("成套设备型号", dll, "HStation.WinFrmUI.Assets.KitProductMgr", modular, resources.KitProduct), |
| | | }; |
| | | return list; |
| | | } |
| | | |
| | |
| | | public static List<FuncElement> GetModel() |
| | | { |
| | | //var dll = "HStation.WinFrmUI.Epanet.dll"; |
| | | // var modular = WinFrmUI.eModular.Model; |
| | | // var modular = WinFrmUI.eModular.Model; |
| | | var list = new List<FuncElement>() |
| | | { |
| | | //new FuncElement("建筑总览", dll, "HStation.WinFrmUI.Epanet.XiaoFang.BuildingsOverview", modular, resources.BulidingsOverview), |
| | | //new FuncElement("模拟计算", dll, "HStation.WinFrmUI.Epanet.SimulationDrillPage_bak", modular, resources.TheoryCalc), |
| | | // new FuncElement("模型模板", dll, "HStation.WinFrmUI.Epanet.TemplateMgr", modular, resources.Template), |
| | | // new FuncElement("分区", dll, "HStation.WinFrmUI.Epanet.PartitionMgr", modular, resources.part), |
| | | // new FuncElement("系统类型", dll, "HStation.WinFrmUI.Epanet.SystemTypeMgr", modular, resources.SystemType), |
| | | // new FuncElement("模型模板", dll, "HStation.WinFrmUI.Epanet.TemplateMgr", modular, resources.Template), |
| | | // new FuncElement("分区", dll, "HStation.WinFrmUI.Epanet.PartitionMgr", modular, resources.part), |
| | | // new FuncElement("系统类型", dll, "HStation.WinFrmUI.Epanet.SystemTypeMgr", modular, resources.SystemType), |
| | | //new FuncElement("平面模型_新", dll, "HStation.WinFrmUI.Epanet.Page_ModelManager_New", modular, resources.Question), |
| | | //new FuncElement("二供建模", dll, "HStation.WinFrmUI.Epanet.Demo2MgrPage", modular, resources.Demo2), |
| | | //new FuncElement("供水当量", dll, "HStation.WinFrmUI.Epanet.Demo2MgrPage", modular, resources.Question), |
| | |
| | | /// </summary> |
| | | public static List<FuncElement> GetTheoryCalc() |
| | | { |
| | | // var dll = "HStation.WinFrmUI.TheoryCalc.dll"; |
| | | // var dll = "HStation.WinFrmUI.TheoryCalc.dll"; |
| | | //var modular = WinFrmUI.eModular.TheoryCalc; |
| | | var list = new List<FuncElement>() |
| | | { |
| | | // new FuncElement("水泵特征曲线", dll, "HStation.WinFrmUI.TheoryCalc.CalcPipeLoss1MainPage", modular, resources.CalPipeLossSB), |
| | | // new FuncElement("水泵特征曲线", dll, "HStation.WinFrmUI.TheoryCalc.CalcPipeLoss1MainPage", modular, resources.CalPipeLossSB), |
| | | //new FuncElement("流量损失分析", dll, "HStation.WinFrmUI.TheoryCalc.CalcPipeLoss1MainPage", modular, resources.CalPipeLossNL), |
| | | //new FuncElement("能耗分析", dll, "HStation.WinFrmUI.TheoryCalc.CalcPipeLoss2MainPage", modular, resources.CalIpipeLossNH), |
| | | //new FuncElement("水池容积分析", dll, "HStation.WinFrmUI.TheoryCalc.CalcPipeLoss2MainPage", modular, resources.CalcpipeLossSC), |
| | |
| | | //var model = new FuncElement("模型", GetModel(), resources.Model); |
| | | //var theoryCalc = new FuncElement("计算", GetTheoryCalc(), resources.TheoryCalc); |
| | | |
| | | return new List<FuncElement> { }; |
| | | return new List<FuncElement> { }; |
| | | |
| | | } |
| | | |
| | | |
| | | public static FuncElement GetFuncMenuMain() |
| | | public static FuncElement GetFuncMenuMain() |
| | | { |
| | | var Menu = new FuncElement("主页", GetMenu(), null); |
| | | var Menu = new FuncElement("主页", GetMenu(), null); |
| | | |
| | | return Menu; |
| | | |