ZigbeeApp/Shared/Phone/ZigBee/Device/DimmableLight.cs
@@ -27,15 +27,14 @@ ///设置设备亮度(Level) ///<para>value:亮度值取值范围:0-254</para> ///<para>command 0:Move to Level Command</para> ///<para>command 4:Move to Level Command(with On/ Off)</para> /// </summary> public void SetLevel(int value, int command = 4) public void SetLevel(int value) { var jObject = new JObject { { "DeviceAddr", DeviceAddr}, { "Epoint", DeviceEpoint}, { "Cluster_ID", 8 }, { "Command", command}, { "Command", 4}, { "SendMode", 2 } }; var data = new JObject {