From 9cba77428a389c5dec6201422a877cb580166389 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 21 十月 2021 10:03:26 +0800 Subject: [PATCH] 2021-10-21-01 --- HDL_ON/DAL/DriverLayer/Control.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 4b93d06..f0d20ac 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -965,6 +965,10 @@ { case SPK.AirSwitch: AirSwitchPage.UpdataState(localFunction); + if(localFunction.GetAttribute(FunctionAttributeKey.Power)!=null)//濡傛灉鏄甫鐢甸噺鐨勭┖寮�涔熻鏇存柊鑳芥簮鐣岄潰 + { + EnergyMainPage.UpdataStatus(localFunction); + } break; case SPK.ElectricEnergy: EnergyMainPage.UpdataStatus(localFunction); -- Gitblit v1.8.0