Browse Source

调整业务指令开始退火,停止退火

master
白凤吉 2 months ago
parent
commit
2fac6a058f
  1. 2
      src/main/java/com/iflytop/sgs/app/cmd/control/AnnealStartCommand.java

2
src/main/java/com/iflytop/sgs/app/cmd/control/AnnealStartCommand.java

@ -48,7 +48,7 @@ public class AnnealStartCommand extends BaseCommandHandler {
heatModuleState.setTargetTemperature(targetTemperature);//将退火温度设定为目标温度
return runAsync(() -> {
if(!HeatModuleCode.heat_module_04.equals(targetHeatModuleCode)) {//目标加热模块不是退火模块
if(!annealHeatModuleCode.equals(targetHeatModuleCode)) {//目标加热模块不是退火模块
transferModuleService.transferXMove(cmdDTO.getCommandId(), cmdDTO.getCommand(), targetHeatModuleTrayClawPoint3D.getX() + transferModuleXPickTrayMoveDistance);//将X轴移动至夹取点 + 移动距离
transferModuleService.transferZMove(cmdDTO.getCommandId(), cmdDTO.getCommand(), transferModuleZPickTrayDownPositon);//将Z轴下降至托盘夹取点高度
transferModuleService.transferXMoveBy(cmdDTO.getCommandId(), cmdDTO.getCommand(), -transferModuleXPickTrayMoveDistance);//X轴进入卡槽

Loading…
Cancel
Save