| | |
| | | String[] split = locNo.split(LOC_NO_FLAG); |
| | | return Integer.parseInt(split[0]); |
| | | } |
| | | throw new RuntimeException("库位解析异常"); |
| | | throw new RuntimeException(locNo + "库位解析异常"); |
| | | } |
| | | |
| | | /** |
| | |
| | | String[] split = locNo.split(LOC_NO_FLAG); |
| | | return Integer.parseInt(split[1]); |
| | | } |
| | | throw new RuntimeException("库位解析异常"); |
| | | throw new RuntimeException(locNo + "库位解析异常"); |
| | | } |
| | | |
| | | /** |
| | |
| | | String[] split = locNo.split(LOC_NO_FLAG); |
| | | return Integer.parseInt(split[2]); |
| | | } |
| | | throw new RuntimeException("库位解析异常"); |
| | | throw new RuntimeException(locNo + "库位解析异常"); |
| | | } |
| | | |
| | | public static String getLocNo(Number row, Number bay, Number lev) { |
| | |
| | | boolean enableGo = false; |
| | | for (StationObjModel stationObjModel : inStationList) { |
| | | try { |
| | | List<NavigateNode> navigateNodes = navigateUtils.calcByStationId(stationId, stationObjModel.getStationId()); |
| | | List<NavigateNode> navigateNodes = navigateUtils.calcReachablePathByStationId(stationId, stationObjModel.getStationId()); |
| | | if(navigateNodes != null && !navigateNodes.isEmpty()) { |
| | | enableGo = true; |
| | | break; |
| | |
| | | boolean enableGo = false; |
| | | for (StationObjModel stationObjModel : inStationList) { |
| | | try { |
| | | List<NavigateNode> navigateNodes = navigateUtils.calcByStationId(stationId, stationObjModel.getStationId()); |
| | | List<NavigateNode> navigateNodes = navigateUtils.calcReachablePathByStationId(stationId, stationObjModel.getStationId()); |
| | | if(navigateNodes != null && !navigateNodes.isEmpty()) { |
| | | enableGo = true; |
| | | break; |