From 06696e6f225733a60b03eea4a7c6374053d92c1d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 14 四月 2020 14:15:35 +0800
Subject: [PATCH] 20200414
---
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