|
|
@ -231,12 +231,16 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
|
StandardInspectSiteDeviceDriver standardInspectSiteDeviceDriver; |
|
|
|
if(device.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver){ |
|
|
|
standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device.getDeviceDriver(); |
|
|
|
if(standardInspectSiteDeviceDriver.getAction()==1){ |
|
|
|
if(standardInspectSiteDeviceDriver.getAction()==1&& |
|
|
|
//电气那边是怕取完货,光电一直有货信号,这样下一个任务员工没有放到位也会继续生成任务,取货时会有问题
|
|
|
|
standardInspectSiteDeviceDriver.getMove()==0){ |
|
|
|
standardInspectSiteDeviceDriver.writing(2); |
|
|
|
} |
|
|
|
} |
|
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0, 0, 0, 0, 0); |
|
|
|
|
|
|
|
} |
|
|
|
}else { |
|
|
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0, 0, 0, 0, 0); |
|
|
|
} |
|
|
|
//到达放货等待点
|
|
|
|
//(需要WCS反馈)
|
|
|
|
} else if (phase == 0x06) { |
|
|
|