From f718d23a262a5a8e1241fdeaeb4153399f95e79d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 21 四月 2020 09:19:05 +0800 Subject: [PATCH] 20200421 --- HDL_ON/DAL/Net/CommonPage.cs | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/Net/CommonPage.cs b/HDL_ON/DAL/Net/CommonPage.cs index ce39294..c8d3b65 100644 --- a/HDL_ON/DAL/Net/CommonPage.cs +++ b/HDL_ON/DAL/Net/CommonPage.cs @@ -106,7 +106,7 @@ { if (function.GetBusId() == subnetID + "_" + deviceID + "_" + receiveBytes[0]) { - if (function.functionCategory == FunctionCategory.Light) + if (function.functionCategory == FunctionCategory.Light&& function.functionType != FunctionType.RGB) { var light = function as Light; //if (receiveBytes[2] == 0 && light.on_off == "off") @@ -155,7 +155,6 @@ if (rgb.functionType == FunctionType.RGB) { rgb.on_off = receiveBytes[1] > 0 ? "on" : "off"; - MainPage.Log($"Logic ACK {receiveBytes[1]}"); if (receiveBytes[1] >0) { rgb.brightness = receiveBytes[1]; -- Gitblit v1.8.0