HDL Home App 第二版本 旧平台金堂用 正在使用
chenqiyang
2022-06-22 dc0309e64f02227d8e1468b7326c07955f804612
ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceColorTemperatureCardControl.cs
@@ -56,7 +56,7 @@
                    if (level == 0)
                    {
                        //如果当前是打开状态,并且亮度为0的话,则需要变成100%亮度
                        i_device.GetType().InvokeMember("SetLevel", System.Reflection.BindingFlags.InvokeMethod, null, i_device, new object[] { 254 });
                        i_device.GetType().InvokeMember("SetLevel", System.Reflection.BindingFlags.InvokeMethod, null, i_device, new object[] { 255 });
                    }
                    else
                    {
@@ -92,7 +92,7 @@
            {
                Common.CommonPage.Instance.IsDrawerLockMode = true;
                if (HdlDeviceCommonLogic.Current.IsMiniLight(this.device) == false)
                if (Common.LocalDevice.Current.IsMiniLight(this.device) == false)
                {
                    var form = new ControlForm.DeviceColorTemperatureLightDetailCardForm();
                    form.RowOrCardControl = this;