HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-04-13 3793a9a38ac6c4c4111c2bba3a35a71c30601e82
ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelFangyueFreshAirBackLightSettionForm.cs
@@ -78,10 +78,10 @@
                //添加屏幕亮度级别控件
                this.AddScreenBrightnesLevelControl();
                //添加背光灯亮度控件
                this.AddBackLightControl();
                this.FinishInitControl(listview, energyModeInfo.enable);
                //添加背光灯亮度控件【暂时不需要,可能后期新风面板的这个颜色要补回来】
                //this.AddBackLightControl();
                //【暂时不需要,可能后期新风面板的这个颜色要补回来】
                //this.FinishInitControl(listview, energyModeInfo.enable);
                //保存
                var btnSave = new BottomClickButton();
@@ -155,7 +155,6 @@
            seekBar1.ProgressChangedEvent += (div, value) =>
            {
                btnProgress1.Text = value.ToString();
                //数据变更
            };
            //seekBar1.Progress = linghtLevelInfo.panelBacklightLevel;
@@ -523,12 +522,12 @@
            }
            //亮度调节更改(他们说随便一个回路就行)
            //var result = await HdlDevicePanelLogic.Current.SetDeviceLightSettion(panelDevice, linghtLevelInfo.panelDirectionsLevel, linghtLevelInfo.panelBacklightLevel);
            //if (result == false)
            //{
            //    this.CloseProgressBar();
            //    return;
            //}
            result = await HdlDevicePanelLogic.Current.SetDeviceLightSettion(panelDevice, linghtLevelInfo.panelDirectionsLevel, linghtLevelInfo.panelBacklightLevel);
            if (result == false)
            {
                this.CloseProgressBar();
                return;
            }
            //设置按键面板指定端点的【指示灯开关颜色】的信息
            //result = await HdlDevicePanelLogic.Current.SetPanelEpointColorInfo(panelDevice, this.keyColorData);