|
|
@ -472,6 +472,11 @@ public class CraftsStepService { |
|
|
|
craftMonitor.setDeviceState(JSONUtil.toJsonStr(deviceStateService.getDeviceState())); |
|
|
|
craftMonitor.setCurrentStepResult(CraftsMonitorResultCode.heat_time.getDescription() + ":0"); |
|
|
|
craftMonitorService.saveMonitor(craftMonitor); |
|
|
|
|
|
|
|
/*判断当前加热位是否有托盘*/ |
|
|
|
boolean heatModuleTrayExist = deviceSensorService.getTrayStateByHeatModuleCode(heatModuleCode);//目标加热模块有无托盘 |
|
|
|
Assert.isTrue(heatModuleTrayExist, () -> new AppException(ResultCode.CRAFT_HEAT_NO_TRAY));//提示工艺加热区无托盘报异常 |
|
|
|
|
|
|
|
/*工艺监控清理上步的记录*/ |
|
|
|
Double temperature = params.getDouble("temperature");//温度 |
|
|
|
Integer time = params.getInt("time");//秒 |
|
|
@ -690,6 +695,9 @@ public class CraftsStepService { |
|
|
|
craftMonitorService.saveMonitor(craftMonitor); |
|
|
|
/*工艺监控清理上步的记录*/ |
|
|
|
|
|
|
|
/*判断当前加热位是否有托盘*/ |
|
|
|
boolean heatModuleTrayExist = deviceSensorService.getTrayStateByHeatModuleCode(heatModuleCode);//目标加热模块有无托盘 |
|
|
|
Assert.isTrue(heatModuleTrayExist, () -> new AppException(ResultCode.CRAFT_HEAT_NO_TRAY));//提示工艺加热区无托盘 报异常 |
|
|
|
|
|
|
|
Double temperature = params.getDouble("temperature");//秒 |
|
|
|
Integer time = params.getInt("time");//秒 |
|
|
|