|  |  | 
 |  |  |     @Autowired | 
 |  |  |     private AgvDetailService agvDetailService; | 
 |  |  |     @Autowired | 
 |  |  |     private AgvModelService agvModelService; | 
 |  |  |     @Autowired | 
 |  |  |     private ActionService actionService; | 
 |  |  |     @Autowired | 
 |  |  |     private ConfigService configService; | 
 |  |  | 
 |  |  |                         for (Agv agv : agvList) { | 
 |  |  |  | 
 |  |  |                             if (!AGV_PROCESSING_MAP.get(agv.getId())) { | 
 |  |  |                                 AGV_PROCESSING_MAP.put(agv.getId(), true); | 
 |  |  |                                 List<Action> actionList = actionService.queryLatestGroup(agv.getId(), ActionStsType.ISSUED); | 
 |  |  |                                 if (!Cools.isEmpty(actionList)) { | 
 |  |  |                                     AGV_PROCESSING_MAP.put(agv.getId(), true); | 
 |  |  |                                     executorService.submit(new AgvSimulatorTask( | 
 |  |  |                                             agv | 
 |  |  |                                             , redis | 
 |  |  |                                             , agvDetailService | 
 |  |  |                                             , agvModelService | 
 |  |  |                                             , actionService | 
 |  |  |                                             , codeService | 
 |  |  |                                             , mapService | 
 |  |  | 
 |  |  |                                             , mainService | 
 |  |  |                                             , actionList | 
 |  |  |                                     )); | 
 |  |  |                                 } else { | 
 |  |  |                                     AGV_PROCESSING_MAP.put(agv.getId(), false); | 
 |  |  |                                 } | 
 |  |  |                             } | 
 |  |  |  |