From 94bed925cf453e148bc5a7556a8a86e0bcb9ad6c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 24 三月 2021 14:11:16 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr
---
HDL_ON/DAL/DriverLayer/Control_Udp.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/DAL/DriverLayer/Control_Udp.cs b/HDL_ON/DAL/DriverLayer/Control_Udp.cs
index 54d9b11..73d66fe 100644
--- a/HDL_ON/DAL/DriverLayer/Control_Udp.cs
+++ b/HDL_ON/DAL/DriverLayer/Control_Udp.cs
@@ -463,11 +463,11 @@
byte lightBri = Convert.ToByte(function.GetAttrState(FunctionAttributeKey.Brightness));
if (lightBri == 0)
{
- b = 100;
+ b1 = 100;
}
else
{
- b = lightBri;
+ b1 = lightBri;
}
}
ControlBytesSend(Command.SetSingleLight, subnetId, deviceId, new byte[] {
--
Gitblit v1.8.0