diff --git a/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java b/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java index 450bf61..60ee8b5 100644 --- a/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java +++ b/acs2/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/XianGongAgvServiceImpl.java @@ -750,6 +750,11 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { } block.put("location", next_point_code); block.put("binTask", "ForkUnload"); + + TaskDto task = taskService.findByCode(inst.getTask_code()); + if ("CPJSSX,BZXXL".contains(inst.getNext_device_code()) && task.getIs_vehicle().equals("0")) { + block.put("binTask", "ForkUnload1"); + } blocks.add(block); if ("true".equals(device2.getExtraValue().get("ignore_release_check"))) {