|
|
@ -180,7 +180,11 @@ public class CraftsStepService { |
|
|
|
private boolean heating(HeatModuleCode heatModuleCode, JSONObject params) throws Exception { |
|
|
|
double trayLift = devicePositionService.getPosition(DevicePositionCode.trayLift).getDistance(); //获取加热位抬升托盘位置 |
|
|
|
double trayLower = devicePositionService.getPosition(DevicePositionCode.trayLower).getDistance(); //获取托盘升降下降距离位置 |
|
|
|
moveToHeatModule(heatModuleCode); |
|
|
|
|
|
|
|
if ((deviceStateService.getDeviceState().getSolutionModule().getTrayStatus() == 1) |
|
|
|
&& deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).getTrayStatus() == 0) { |
|
|
|
moveToHeatModule(heatModuleCode); |
|
|
|
} |
|
|
|
|
|
|
|
Double inTemperature = params.getDouble("inTemperature"); |
|
|
|
Double targetTemperature = params.getDouble("temperature"); |
|
|
|