From df3906c03db154e8622b7caeaa3bf93b67c6d40a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 15 十月 2021 10:25:35 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/newBranch1' into CJL-Linphone --- HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchPage.cs | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchPage.cs index 0afbced..76d2fb3 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/AirSwitchPage.cs @@ -153,7 +153,7 @@ TextAlignment = TextAlignment.Center, TextSize = CSS_FontSize.TextFontSize, }; - controlView.AddChidren(btnRunStatus); + //controlView.AddChidren(btnRunStatus); //鐘舵�佹棤娉曟祴璇曪紝鏆傛椂闅愯棌--2021-10-14 13:58:48 钁f辰鏂� UpdataRunStatus(); } @@ -238,10 +238,11 @@ if (updataTemp.spk == bodyView.function.spk && updataTemp.sid == bodyView.function.sid) { bodyView.btnSwitch.IsSelected = bodyView.btnSwitchIcon.IsSelected = updataTemp.trait_on_off.curValue.ToString() == "on"; - } - if(updataTemp.GetAttribute("run_status")!=null) - { - bodyView.UpdataRunStatus(); + + if (updataTemp.GetAttribute("run_status") != null) + { + bodyView.UpdataRunStatus(); + } } } catch (Exception ex) -- Gitblit v1.8.0