|
@ -178,7 +178,6 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
if(device.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver){ |
|
|
if(device.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver){ |
|
|
standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device.getDeviceDriver(); |
|
|
standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device.getDeviceDriver(); |
|
|
if(standardInspectSiteDeviceDriver.getAction()==1){ |
|
|
if(standardInspectSiteDeviceDriver.getAction()==1){ |
|
|
standardInspectSiteDeviceDriver.writing(2); |
|
|
|
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0, 0, 0, 0, 0); |
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0, 0, 0, 0, 0); |
|
|
}else{ |
|
|
}else{ |
|
|
log.info("当前涂板线未允许取货"); |
|
|
log.info("当前涂板线未允许取货"); |
|
@ -227,6 +226,15 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
logServer.deviceExecuteLog(this.device_code, "", "", "未找到关联编号对应的指令" + ikey); |
|
|
logServer.deviceExecuteLog(this.device_code, "", "", "未找到关联编号对应的指令" + ikey); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver; |
|
|
|
|
|
if(device.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver){ |
|
|
|
|
|
standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device.getDeviceDriver(); |
|
|
|
|
|
if(standardInspectSiteDeviceDriver.getAction()==1){ |
|
|
|
|
|
standardInspectSiteDeviceDriver.writing(2); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0, 0, 0, 0, 0); |
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0, 0, 0, 0, 0); |
|
|
//到达放货等待点
|
|
|
//到达放货等待点
|
|
|
//(需要WCS反馈)
|
|
|
//(需要WCS反馈)
|
|
|