台站运行管理台站接收状态线程台站id数组获取内容修改
This commit is contained in:
parent
a2ff824fc7
commit
e3e8a52344
|
@ -81,6 +81,7 @@ public class DataReceivingStatusManager {
|
||||||
String cacheTime = (String) redisUtil.get("maxCacheTime");
|
String cacheTime = (String) redisUtil.get("maxCacheTime");
|
||||||
//从redis中获取台站信息
|
//从redis中获取台站信息
|
||||||
Map<String, GardsStations> stationInfoMap = (HashMap<String, GardsStations>) redisUtil.get("stationInfoMap");
|
Map<String, GardsStations> stationInfoMap = (HashMap<String, GardsStations>) redisUtil.get("stationInfoMap");
|
||||||
|
// List<Integer> stationIds = stationInfoMap.keySet().stream().collect(Collectors.toList());
|
||||||
List<String> stationIds = new LinkedList<>();
|
List<String> stationIds = new LinkedList<>();
|
||||||
for (Map.Entry<String, GardsStations> stationInfo:stationInfoMap.entrySet()) {
|
for (Map.Entry<String, GardsStations> stationInfo:stationInfoMap.entrySet()) {
|
||||||
GardsStations infoValue = stationInfo.getValue();
|
GardsStations infoValue = stationInfo.getValue();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user