|
|
@ -178,7 +178,6 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
|
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); |
|
|
|
}else{ |
|
|
|
log.info("当前涂板线未允许取货"); |
|
|
@ -227,6 +226,15 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
|
logServer.deviceExecuteLog(this.device_code, "", "", "未找到关联编号对应的指令" + ikey); |
|
|
|
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); |
|
|
|
//到达放货等待点
|
|
|
|
//(需要WCS反馈)
|
|
|
|