|
@ -12,6 +12,7 @@ import com.iflytop.sgs.app.model.bo.status.device.TubeState; |
|
|
import com.iflytop.sgs.app.model.entity.Container; |
|
|
import com.iflytop.sgs.app.model.entity.Container; |
|
|
import com.iflytop.sgs.app.model.entity.CraftMonitor; |
|
|
import com.iflytop.sgs.app.model.entity.CraftMonitor; |
|
|
import com.iflytop.sgs.app.model.entity.Solutions; |
|
|
import com.iflytop.sgs.app.model.entity.Solutions; |
|
|
|
|
|
import com.iflytop.sgs.app.model.entity.SystemConfig; |
|
|
import com.iflytop.sgs.app.service.api.*; |
|
|
import com.iflytop.sgs.app.service.api.*; |
|
|
import com.iflytop.sgs.app.service.device.DeviceLightSoundService; |
|
|
import com.iflytop.sgs.app.service.device.DeviceLightSoundService; |
|
|
import com.iflytop.sgs.app.service.device.DeviceSensorService; |
|
|
import com.iflytop.sgs.app.service.device.DeviceSensorService; |
|
@ -725,7 +726,7 @@ public class CraftsStepService { |
|
|
Point3D annealTrayClawPoint3D = heatModuleService.getHeatModuleTrayClawPoint3D(HeatModuleCode.heat_module_04);//获取退火区托盘夹取点 |
|
|
Point3D annealTrayClawPoint3D = heatModuleService.getHeatModuleTrayClawPoint3D(HeatModuleCode.heat_module_04);//获取退火区托盘夹取点 |
|
|
Point3D heatModuleTrayClawPoint3D = heatModuleService.getHeatModuleTrayClawPoint3D(heatModuleCode);//获取目标加热模块托盘夹取点 |
|
|
Point3D heatModuleTrayClawPoint3D = heatModuleService.getHeatModuleTrayClawPoint3D(heatModuleCode);//获取目标加热模块托盘夹取点 |
|
|
Double transferModuleXPickTrayMoveDistance = devicePositionService.getPosition(DevicePositionCode.transferModuleXPickTrayMoveDistance).getDistance();//获取转运模块X轴拿取托盘进出卡槽移动距离 |
|
|
Double transferModuleXPickTrayMoveDistance = devicePositionService.getPosition(DevicePositionCode.transferModuleXPickTrayMoveDistance).getDistance();//获取转运模块X轴拿取托盘进出卡槽移动距离 |
|
|
|
|
|
|
|
|
|
|
|
Double coldTemperature=systemConfigService.getSystemConfigDoubleByCode(SystemConfigCode.fan_stop_temperature);//降温至 |
|
|
log.info("工艺{},机械臂移动至加热区", heatModuleCode); |
|
|
log.info("工艺{},机械臂移动至加热区", heatModuleCode); |
|
|
webSocketService.pushCraftsDebug(CraftsDebugGenerator.generateJson(heatModuleCode.toString(), "机械臂移动至加热区", heatModuleCode)); |
|
|
webSocketService.pushCraftsDebug(CraftsDebugGenerator.generateJson(heatModuleCode.toString(), "机械臂移动至加热区", heatModuleCode)); |
|
|
log.info("工艺{},申请使用转运模块", heatModuleCode); |
|
|
log.info("工艺{},申请使用转运模块", heatModuleCode); |
|
@ -823,7 +824,7 @@ public class CraftsStepService { |
|
|
log.info("工艺{},散热打开", heatModuleCode); |
|
|
log.info("工艺{},散热打开", heatModuleCode); |
|
|
heatModuleService.fanStart(heatModuleCode);//散热打开 |
|
|
heatModuleService.fanStart(heatModuleCode);//散热打开 |
|
|
deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).setFanOpen(true); //设置加热区风扇打开 |
|
|
deviceStateService.getDeviceState().getHeatModuleByCode(heatModuleCode).setFanOpen(true); //设置加热区风扇打开 |
|
|
while (!codeIsSuitable(heatModuleCode, 100.0)) { |
|
|
|
|
|
|
|
|
while (!codeIsSuitable(heatModuleCode, coldTemperature)) { |
|
|
delay(5); |
|
|
delay(5); |
|
|
} |
|
|
} |
|
|
log.info("工艺{},散热关闭", heatModuleCode); |
|
|
log.info("工艺{},散热关闭", heatModuleCode); |
|
|