From 0c4c132ea315a1cb27f67535ec3226610e16092e Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 03 二月 2021 14:34:05 +0800 Subject: [PATCH] 0203发布版本 --- HDL_ON/DAL/DriverLayer/Control.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 91f0f1b..5d85428 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -310,6 +310,7 @@ MainPage.Log($"鍙戦�佹暟鎹�:{Newtonsoft.Json.JsonConvert.SerializeObject(commandDictionary)}"); + //useRemote = true; //杩滅▼閫氳 if (Ins.IsRemote || useRemote == true) { @@ -400,6 +401,10 @@ if(temp!= null) { temp = function; + if (SPK.Get3tySpk(SPK.BrandType.Tuya).Contains(temp.spk)) + { + Stan.HdlDeviceStatuPushLogic.Current.UpdateDeviceStatu(temp.sid, temp.status); + } } } } @@ -906,7 +911,7 @@ case SPK.ElectricTuyaWeepRobot: case SPK.ElectricTuyaWaterValve: //璁惧鐘舵�佹帹閫� - var myDevice = Stan.HdlDeviceStatuPushLogic.Current.UpdateDeviceStatu(updateTemp); + var myDevice = Stan.HdlDeviceStatuPushLogic.Current.UpdateDeviceStatu(updateTemp.sid,updateTemp.status); if (myDevice != null) { localObj = myDevice; -- Gitblit v1.8.0