| | |
| | | } |
| | | } |
| | | |
| | | // for (Map.Entry<Long, List<String>> entry : AREA_CODE.entrySet()) { |
| | | // Long areaId = entry.getKey(); |
| | | // List<String> codeList = entry.getValue(); |
| | | // |
| | | // for (String code : codeList) { |
| | | // Set<Long> agvList = CODE_AGV.computeIfAbsent(code, k -> new HashSet<>()); |
| | | // // todo AreaAGV( man_area_agv ) |
| | | // |
| | | // |
| | | // } |
| | | // } |
| | | |
| | | |
| | | // for (Area area : areaList) { |
| | | // AreaShapeDto shapeDto = JSON.parseObject(area.getShapeData(), AreaShapeDto.class); |
| | | // MapPointDto start = shapeDto.getStart(); |
| | | // MapPointDto end = shapeDto.getEnd(); |
| | | // |
| | | // List<String> codeList = this.findCodesInArea(start, end); |
| | | // log.info("codeList: {}", JSON.toJSONString(codeList)); |
| | | // |
| | | // String redisKey = area.getName() + (area.getZoneId() != null ? "_" + area.getZoneId() : ""); |
| | | // String areaDataStr = redis.getValue(RedisConstant.MAP_AREA_DATA_FLAG, redisKey); |
| | | // |
| | | // } |
| | | } |
| | | |
| | | // checkout list of area by code data |