| | |
| | | |
| | | //添加屏幕亮度级别控件 |
| | | this.AddScreenBrightnesLevelControl(); |
| | | //添加背光灯亮度控件 |
| | | this.AddBackLightControl(); |
| | | |
| | | this.FinishInitControl(listview, energyModeInfo.enable);
|
| | | //添加背光灯亮度控件【暂时不需要,可能后期新风面板的这个颜色要补回来】 |
| | | //this.AddBackLightControl(); |
| | | //【暂时不需要,可能后期新风面板的这个颜色要补回来】 |
| | | //this.FinishInitControl(listview, energyModeInfo.enable);
|
| | |
|
| | | //保存 |
| | | var btnSave = new BottomClickButton();
|
| | |
| | | seekBar1.ProgressChangedEvent += (div, value) =>
|
| | | {
|
| | | btnProgress1.Text = value.ToString();
|
| | | //数据变更
|
| | | };
|
| | | //seekBar1.Progress = linghtLevelInfo.panelBacklightLevel;
|
| | |
|
| | |
| | | }
|
| | | |
| | | //亮度调节更改(他们说随便一个回路就行) |
| | | //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);
|