|
|
@ -229,14 +229,6 @@ public class XianGongAgvServiceImpl implements XianGongAgvService { |
|
|
|
jo.put("complete", true); |
|
|
|
jo.put("blocks", createBlocksData(inst)); |
|
|
|
jo.put("priority", inst.getPriority()); |
|
|
|
Device device1 = deviceAppService.findDeviceByCode(inst.getStart_device_code()); |
|
|
|
if (Arrays.asList("1", "2", "3").contains(device1.getRegion())) { |
|
|
|
jo.put("group", "NT"); |
|
|
|
} else if (Arrays.asList("4", "8").contains(device1.getRegion())) { |
|
|
|
jo.put("group", "JF"); |
|
|
|
} else if (Arrays.asList("5", "6", "7").contains(device1.getRegion())) { |
|
|
|
jo.put("group", "ZZ"); |
|
|
|
} |
|
|
|
log.info("任务号:{},指令号{},下发agv订单序列参数:{}", inst.getTask_code(), inst.getInstruction_code(), jo.toString()); |
|
|
|
|
|
|
|
if (StrUtil.equals(paramService.findByCode(org.nl.acs.config.AcsConfig.FORKAGV).getValue(), "1")) { |
|
|
|