| | |
| | | return null; |
| | | } |
| | | |
| | | public int[][] parseJsonDataArr(List<List<MapNode>> lists) { |
| | | int[][] map = new int[lists.size()][]; |
| | | int j = 0; |
| | | for (List<MapNode> list : lists) { |
| | | int[] tmp = new int[list.size()]; |
| | | int i = 0; |
| | | for (MapNode mapNode : list) { |
| | | //将数据添加进二维数组 |
| | | tmp[i++] = mapNode.getValue(); |
| | | } |
| | | //数据添加进一维数组 |
| | | map[j++] = tmp; |
| | | } |
| | | |
| | | return map; |
| | | } |
| | | |
| | | /** |
| | | * 过滤地图数据 |
| | | * mapType -1=>无过滤,1=》过滤库位状态DFX,2=》过滤库位状态X |
| | |
| | | } |
| | | } |
| | | |
| | | mapNode.setLocSts(locMast.getLocSts()); |
| | | mapNode.setLocNo(locMast.getLocNo()); |
| | | |
| | | //更新list |
| | | list.set(bay, mapNode); |
| | | lists.set(row, list); |