wxr
2020-09-11 8df24b0a3dfd5b6f39c5393ef24eab25b70ab858
HDL_ON/DriverLayer/Control.cs
@@ -219,7 +219,6 @@
                var deviceId = function.bus_Data.DeviceID;
                var loopId = function.bus_Data.LoopID;
                switch (function.functionCategory)
                {
                    case FunctionCategory.Light:
@@ -501,7 +500,7 @@
                        {
                            case FunctionType.Fan:
                                var fan = function as Fan;
                                ControlBytesSend(Command.SetSingleLightACK, subnetId, deviceId, new byte[] { fan.bus_Data.LoopID });
                                ControlBytesSend(Command.SetSingleLight, subnetId, deviceId, new byte[] { fan.bus_Data.LoopID });
                                break;
                        }
                        break;
@@ -510,7 +509,7 @@
                        {
                            case FunctionType.Socket:
                                var s = function as SwitchSocket;
                                ControlBytesSend(Command.SetSingleLightACK, subnetId, deviceId, new byte[] { s.bus_Data.LoopID });
                                ControlBytesSend(Command.SetSingleLight, subnetId, deviceId, new byte[] { s.bus_Data.LoopID });
                                break;
                        }
                        break;