JLChen
2020-03-19 af3480f93219c486f51d6aeac5e910dac8f9c382
hdl_core/src/main/java/com/hdl/sdk/hdl_core/HDLDeviceManger/Core/HDLCommand.java
@@ -405,9 +405,9 @@
     * 控制地热模块温度
     *
     * @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) {
@@ -415,7 +415,7 @@
            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();