| | |
| | | * 控制地热模块温度 |
| | | * |
| | | * @param info |
| | | * @param state 2020-03-15 |
| | | * @param tempInt 2020-03-15 |
| | | */ |
| | | public static void geothermalCtrlTemp(final AppliancesInfo info, int state) { |
| | | public static void geothermalCtrlTemp(final AppliancesInfo info, int tempInt) { |
| | | // HDLDeviceManager.isGeothermalCtrlSuccess = false; |
| | | HDLDeviceManager.setDeviceCtrlSuccessStateWithInfo(info, false); |
| | | if (geothermalCtrlFailTimer != null) { |
| | |
| | | geothermalCtrlFailTimer = null; |
| | | } |
| | | if (info.getBigType() == Configuration.GEOTHERMAL_BIG_TYPE) { |
| | | byte[] sendbytes = GeothermalParser.getGeothermalAddByteTemp(info, state); |
| | | byte[] sendbytes = GeothermalParser.getGeothermalAddByteTemp(info, tempInt); |
| | | addSendData(info, sendbytes, Configuration.CONTROL); |
| | | |
| | | geothermalCtrlFailTimer = new Timer(); |