放货完成不判断终点是否有货

This commit is contained in:
pangshenghao
2023-06-16 09:54:30 +08:00
parent 7eae088c85
commit 7c96dad2b1

View File

@@ -465,14 +465,14 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable {
}
if (device.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver) {
standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device.getDeviceDriver();
if (standardInspectSiteDeviceDriver.getMove() == 0) {
// if (standardInspectSiteDeviceDriver.getMove() == 0) {
inst.setExecute_status("3");
instructionService.update(inst);
data = AgvService.sendAgvOneModeInst(phase, index, 0);
flag = true;
} else {
log.info("AGV请求放货设备{}有货,无法反馈", device_code);
}
// } else {
// log.info("AGV请求放货设备{}有货,无法反馈", device_code);
// }
}
if (device.getDeviceDriver() instanceof StandardCoveyorControlDeviceDriver) {
standardCoveyorControlDeviceDriver = (StandardCoveyorControlDeviceDriver) device.getDeviceDriver();