| | |
| | | |
| | | Integer maxAgvCountInLane = configService.getVal("maxAgvCountInLane", Integer.class); |
| | | |
| | | // checkout lane |
| | | Lane originLane = taskService.checkoutOriginLane(task); |
| | | Lane destinationLane = taskService.checkoutDestinationLane(task); |
| | | |
| | | // allocate about origin |
| | | taskService.findTasksByLaneHash(originLane.getHashCode()); |
| | | |
| | | // allocate about destination |
| | | taskService.findTasksByLaneHash(destinationLane.getHashCode()); |
| | | |
| | | /** |
| | | * 1. 判断task的起始点和目的点所在的巷道承载任务数量, |
| | |
| | | * 判断逻辑:背篓数量最少的小车轮询的时候,优先级最高 |
| | | */ |
| | | |
| | | |
| | | task.setOriLaneHash(originLane.getHashCode()); |
| | | task.setDestLaneHash(destinationLane.getHashCode()); |
| | | |
| | | return null; |
| | | } |
| | | |