| | |
| | | {
|
| | | //获取空调模式失败
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uGetAcModeFail);
|
| | | msg = UserCenterLogic.CombineGatewayTimeOutMsg(msg, null, "回复超时");
|
| | | msg = HdlCommonLogic.Current.CombineGatewayTimeOutMsg(msg, null, "回复超时");
|
| | | this.ShowMassage(ShowMsgType.Tip, msg);
|
| | | this.CloseProgressBar(ShowReLoadMode.YES);
|
| | | return;
|
| | |
| | | //如果是虚拟住宅
|
| | | if (Common.Config.Instance.Home.IsVirtually == true || Common.Config.Instance.Home.IsShowTemplate == true)
|
| | | {
|
| | | var data = TemplateData.TemplateDeviceDataLogic.Current.GetAcModeSupport(deviceAc);
|
| | | var data = HdlTemplateDeviceDataLogic.Current.GetAcModeSupport(deviceAc);
|
| | | //转换为二进制
|
| | | var value = Convert.ToString(data, 2).PadLeft(16, '0');
|
| | | //这五个设置是放在后面的
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | string mainkeys = Common.LocalDevice.Current.GetDeviceMainKeys(deviceAc);
|
| | | string mainkeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(deviceAc);
|
| | | HdlGatewayReceiveLogic.Current.AddAttributeEvent("ReadAirConditionerModeSupport", ReceiveComandDiv.A设备属性上报, (report) =>
|
| | | {
|
| | | string checkKeys = Common.LocalDevice.Current.GetDeviceMainKeys(report);
|
| | | string checkKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(report);
|
| | | if (checkKeys != mainkeys || report.DeviceStatusReport.CluterID != 513)
|
| | | {
|
| | | return;
|