From 02498f7744e6fdc413e518f96b25f3635540dc6b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 15 十一月 2022 11:27:38 +0800 Subject: [PATCH] 金茂科技系统更新 --- HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs | 36 +++++++++++++++++++++++++++++------- 1 files changed, 29 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs b/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs index d94d5a1..f3e5160 100644 --- a/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs +++ b/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs @@ -38,6 +38,12 @@ rgbView.LoadPage(btnCollectionIcon, btnName, btnFromFloor); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; break; + case SPK.LightRGBW: + var rgbwView = new RGBWPage(function); + MainPage.BasePageView.AddChidren(rgbwView); + rgbwView.LoadPage(btnCollectionIcon, btnName, btnFromFloor); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + break; case SPK.LightDimming: var dimmerView = new DimmerPage(function); MainPage.BasePageView.AddChidren(dimmerView); @@ -57,9 +63,21 @@ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; break; case SPK.CurtainRoller: - var rollingShutterView = new RollingShutterPage(function); + var rollingShutterView = new VenetianBlindsPage(function); MainPage.BasePageView.AddChidren(rollingShutterView); rollingShutterView.LoadPage(btnCollectionIcon, btnName, btnFromFloor); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + break; + case SPK.CurtainShades: + var curtainShadesView = new RollingShutterPage(function); + MainPage.BasePageView.AddChidren(curtainShadesView); + curtainShadesView.LoadPage(btnCollectionIcon, btnName, btnFromFloor); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + break; + case SPK.CurtainDream: + var curtainDreamView = new CurtainDreamPage(function); + MainPage.BasePageView.AddChidren(curtainDreamView); + curtainDreamView.LoadPage(btnCollectionIcon, btnName, btnFromFloor); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; break; case SPK.FloorHeatStandard: @@ -117,6 +135,10 @@ case SPK.ElectricTuyaWaterValve2: var tyWaterValve = new TuyaWaterValvePage(); tyWaterValve.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); + break; + case SPK.MechanicalArm: + var mechanicalArmPage = new MechanicalArmPage(); + mechanicalArmPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; case SPK.ElectricTuyaWeepRobot: case SPK.ElectricTuyaWeepRobot2: @@ -142,6 +164,11 @@ pirPage.ShowColltionButton = false; pirPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; + case SPK.SensorHelp: + var helpPage = new PanelHelpPage(); + helpPage.ShowColltionButton = false; + helpPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); + break; case SPK.SensorWater: var waterPage = new SensorWaterImmersionPage(); waterPage.ShowColltionButton = false; @@ -157,10 +184,10 @@ doorwindowPage.ShowColltionButton = false; doorwindowPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; + case SPK.SensorMmvPose: case SPK.SenesorMegahealth: case SPK.SenesorMegahealth2: var smPage = new SenesorMegahealthPage(); - smPage.ShowColltionButton = false; smPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; case SPK.SensorGas: @@ -204,11 +231,6 @@ var doorLockPage = new DoorLockPage(); doorLockPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; - case SPK.SensorHelp: - var panelHelpPage = new HDL_ON.UI.UI2.FuntionControlView.Panel.PanelHelpPage(); - panelHelpPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); - break; - } }; return eventHandler; -- Gitblit v1.8.0