From f7d3739023f4d04a4ed2c30c13d9abf8da210da7 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 25 七月 2022 13:58:49 +0800 Subject: [PATCH] 兼容俄语 --- HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs | 27 ++++++++++++++++++++------- 1 files changed, 20 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs b/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs index 7b59c9e..0567578 100644 --- a/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs +++ b/HDL_ON/UI/UI0-Public/PublicAssmeblyBLL.cs @@ -62,6 +62,12 @@ rollingShutterView.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: case SPK.HvacFloorHeat: var fhView = new FloorHeatingPage(function); @@ -125,11 +131,11 @@ break; case SPK.MusicStandard: case SPK.AvMusic: - Music.A31MusicModel.Current = (function as Music.A31MusicModel);//褰撳墠鎾斁鍣� - var a31PlayMusicPage = new Music.A31PlayMusicPage(); - MainPage.BasePageView.AddChidren(a31PlayMusicPage); - a31PlayMusicPage.Show(); - MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + //Music.A31MusicModel.Current= new Music.A31MusicModel { functionMusic = function };//褰撳墠鎾斁鍣� + //var a31PlayMusicPage = new Music.A31PlayMusicPage(); + //MainPage.BasePageView.AddChidren(a31PlayMusicPage); + //a31PlayMusicPage.Show(); + //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; break; case SPK.LightCCT: var TureView = new ColorTureLampPage(function); @@ -160,7 +166,6 @@ case SPK.SenesorMegahealth: case SPK.SenesorMegahealth2: var smPage = new SenesorMegahealthPage(); - smPage.ShowColltionButton = false; smPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; case SPK.SensorGas: @@ -182,6 +187,10 @@ var acPage = new AcControlPage(); acPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; + case SPK.HvacCac: + var cacPage = new CacControlPage(); + cacPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); + break; case SPK.IrLearn: var irLearinPage = new IrLearnPage(); irLearinPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); @@ -196,9 +205,13 @@ var airFresh2 = new AirFreshRelayControlPage(); airFresh2.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); break; + case SPK.DoorLock: + var doorLockPage = new DoorLockPage(); + doorLockPage.AddForm(function, btnCollectionIcon, btnName, btnFromFloor); + break; } }; return eventHandler; } } -} \ No newline at end of file +} -- Gitblit v1.8.0