| | |
| | | this.runLocToSta(agvModel, testAreaCodes, memo); |
| | | // 移库 |
| | | this.runLocToLoc(areaCode, agvModel, testAreaCodes, memo); |
| | | } else if (priority > 10) { |
| | | } else if (priority < 10) { |
| | | // 出库 |
| | | this.runLocToSta(agvModel, testAreaCodes, memo); |
| | | // 移库 |
| | | this.runLocToLoc(areaCode, agvModel, testAreaCodes, memo); |
| | | } else if (priority > 100) { |
| | | } else { |
| | | // 移库 |
| | | this.runLocToLoc(areaCode, agvModel, testAreaCodes, memo); |
| | | } |
| | |
| | | taskDto.setOriLoc(stockLoc.getLocNo()); |
| | | taskDto.setDestLoc(idleLoc.getLocNo()); |
| | | taskDto.setTaskNo(String.valueOf(snowflakeIdWorker.nextId()).substring(15, 19)); |
| | | |
| | | taskDto.setPriority(1); |
| | | param.getTasks().add(taskDto); |
| | | } |
| | | if (Cools.isEmpty(param.getTasks())) { |