duheng
2025-03-18 0dcff1805b3143dd1c2a25d604afdd724b452803
WinFrmUI/HStation.WinFrmUI.Xhs.Core/01-home/00-core/HomeXhsProjectPage.cs
@@ -1,7 +1,4 @@
using DevExpress.Utils.Svg;
using HStation.WinFrmUI.Assets;
using HStation.WinFrmUI.Xhs.PumpProduct;
using Yw.WinFrmUI.Page;
using Yw.WinFrmUI.Page;
namespace HStation.WinFrmUI
{
@@ -74,9 +71,9 @@
                {
                    var Prjguid = new PageGuid()
                    {
                        Modular = "Xhs",
                        Modular = XhsFunctionHelper.Modular,
                        MoudingType = eMoudingType.Tab,
                        Function = "ProjectMgr",
                        Function = XhsFunctionHelper.ProjectMgr
                    };
                    if (!IsExistPage(Prjguid, true))
                    {
@@ -90,16 +87,16 @@
            {
                var guid = new PageGuid()
                {
                    Modular = Yw.WinFrmUI.PageModular.Bimface,
                    Modular = XhsFunctionHelper.Modular,
                    MoudingType = Yw.WinFrmUI.Page.eMoudingType.Tab,
                    Function = Yw.WinFrmUI.PageFunction.ViewBimface3d,
                    Function = XhsFunctionHelper.ProjectSimulation,
                    TagName = $"{PrjID}"
                };
                if (!IsExistPage(guid, true))
                {
                    // var page = new XhsSchemeMultiMgrPage();
                    // await page.SetMatching(obj.ID);
                    // await page.SetMatching(obj.UserID);
                    var page = new XhsProjectSimulationMgrPage();
                    await page.SetBindingData(PrjID);
@@ -135,6 +132,7 @@
                        }
                    }
                    break;
                case HStation.Assets.DataType.CoolingMain:
                    {
                        var guid = new PageGuid()
@@ -150,6 +148,7 @@
                        }
                    }
                    break;
                case HStation.Assets.DataType.PumpMain:
                    {
                        var guid = new PageGuid()
@@ -165,6 +164,7 @@
                        }
                    }
                    break;
                case HStation.Assets.DataType.ValveMain:
                    {
                        var guid = new PageGuid()
@@ -175,11 +175,12 @@
                        };
                        if (!IsExistPage(guid, true))
                        {
                            var page = new ValveManageMainPage();
                            var page = new AssetsValveMgrPage();
                            CreatePage(page, guid);
                        }
                    }
                    break;
                case HStation.Assets.DataType.ExchangerMain:
                    {
                        var guid = new PageGuid()
@@ -195,9 +196,9 @@
                        }
                    }
                    break;
                default: break;
            }
        }
    }
}