From 884a8ce78b6d198a5878e85fc30cb85177e59826 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 08 八月 2023 10:04:36 +0800 Subject: [PATCH] 三相空开验收 --- HDL_ON/DAL/DriverLayer/Control.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs index 87b720f..e4cebab 100644 --- a/HDL_ON/DAL/DriverLayer/Control.cs +++ b/HDL_ON/DAL/DriverLayer/Control.cs @@ -1271,7 +1271,7 @@ // return; //} - var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<AlinkFunctionStatusObj>(revString); + var temp = JsonConvert.DeserializeObject<AlinkFunctionStatusObj>(revString); if (temp != null) { Control_Udp.ReceiveRepeatManager(temp.id, usefulBytes); @@ -1328,7 +1328,11 @@ { localFunction.time_stamp = temp.time_stamp; localFunction.SetAttrState(attr.key, attr.value); - + + } + if(localFunction.spk == SPK.AirSwitchP3) + { + localFunction.online = updateTemp.online; } //鏇存柊鐣岄潰鐘舵�� -- Gitblit v1.8.0