| | |
| | | Panel.KeyNum keyNum = (Panel.KeyNum)panel.DeviceEpoint;
|
| | | var result = await panel.GetPanelColorInfoAsync(keyNum);
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|
| | |
| | | var result = await panel.GetPanelSwitchLevelAsync();
|
| | | panel = null;
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|
| | |
| | | var result = await panel.SetKeyLevelAsync(directionsLevel, backlightLevel);
|
| | | panel = null;
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowTipMsg(error);
|
| | |
| | | panel = null;
|
| | |
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|
| | |
| | | var result = await panel.SetKeyModeAsync(modeEnable, modeTime, level);
|
| | | panel = null;
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|
| | |
| | | panel = null;
|
| | |
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|
| | |
| | | {
|
| | | var result = await panel.GetPanelPrivateFunctionsAsync(parameter);
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|
| | |
| | | {
|
| | | var result = await panel.ConfigureHdlKeyValueAsync((Panel.KeyMode)i_value);
|
| | | //共通错误检测
|
| | | string error = UserCenterLogic.CheckCommonErrorCode(result);
|
| | | string error = HdlCheckLogic.Current.CheckCommonErrorCode(result);
|
| | | if (error != null)
|
| | | {
|
| | | this.ShowErrorMsg(error);
|