HDL Home App 第二版本 旧平台金堂用 正在使用
wjc
2022-12-01 351bdda734832d821a9764b0cde8be5d83c4ec50
ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DeviceColorTemperatureRowControl.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
                    {
@@ -90,7 +90,7 @@
            //深度卡片信息
            this.frameTable.ButtonClickEvent += (sender, e) =>
            {
                if (HdlDeviceCommonLogic.Current.IsMiniLight(this.device) == false)
                if (Common.LocalDevice.Current.IsMiniLight(this.device) == false)
                {
                    var form = new MainPage.ControlForm.DeviceColorTemperatureLightDetailCardForm();
                    form.RowOrCardControl = this;