From 05fc75f96aa92333c84c7e7b5d708c9dbdc5113d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Fri, 13 Jun 2025 10:05:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=89=8B=E5=8A=A8=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8D=E5=81=9A=E6=95=A3=E7=83=AD=E3=80=81=E5=8A=A0=E7=83=AD?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iflytop/gd/app/command/control/HeatStartCommand.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/com/iflytop/gd/app/command/control/HeatStartCommand.java b/src/main/java/com/iflytop/gd/app/command/control/HeatStartCommand.java index db90f87..60fcf66 100644 --- a/src/main/java/com/iflytop/gd/app/command/control/HeatStartCommand.java +++ b/src/main/java/com/iflytop/gd/app/command/control/HeatStartCommand.java @@ -44,10 +44,6 @@ public class HeatStartCommand extends BaseCommandHandler { throw new AppException(ResultCode.CRAFT_RUNNING); } return runAsync(() -> { - if( deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).isFanOpen()){ - heatModuleService.fanClose(heatModuleCode);//加热前,尝试关闭风扇 - deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).setFanOpen(false); - } heatModuleService.heatRodOpen(cmdDTO.getCommandId(), cmdDTO.getCommand(), heatModuleCode, temperature); deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).setTargetTime(time); deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).setHeatTemperature(temperature);