| | |
| | | && HDLDeviceManager.devicesDataList.get(i).getAppliancesInfoList().get(j).getDeviceType() != HDLApConfig.TYPE_AC_PANEL |
| | | && appliancesInfo.getChannelNum() == HDLDeviceManager.devicesDataList.get(i).getAppliancesInfoList().get(j).getChannelNum()) { |
| | | newInfo = HDLDeviceManager.devicesDataList.get(i).getAppliancesInfoList().get(j); |
| | | |
| | | if (newInfo.getArrCurState() == null || newInfo.getArrCurState().length != 13) { |
| | | //2021-09-07 之前标准空调模块协议是13位,新的空调回复协议变成长度19位,增加兼容处理 |
| | | if (newInfo.getArrCurState() == null || newInfo.getArrCurState().length < 13) { |
| | | newInfo.setArrCurState(getNewAcByte()); |
| | | } |
| | | airBytes = newInfo.getArrCurState(); |