|
|
@ -3837,7 +3837,8 @@ public class EamServiceImpl implements EamService { |
|
|
List<EquipmentFolderLocationVo> collect = location.stream().filter(obj -> ips.stream().noneMatch(obj2 -> obj2.equals(obj.getIP()))).collect(Collectors.toList()); |
|
|
List<EquipmentFolderLocationVo> collect = location.stream().filter(obj -> ips.stream().noneMatch(obj2 -> obj2.equals(obj.getIP()))).collect(Collectors.toList()); |
|
|
if(collect != null && collect.size()>0){ |
|
|
if(collect != null && collect.size()>0){ |
|
|
for(EquipmentFolderLocationVo vo:collect){ |
|
|
for(EquipmentFolderLocationVo vo:collect){ |
|
|
loraWatchUtils.sendloraRedLight(vo.getIP(),0, 0,0); |
|
|
|
|
|
|
|
|
LoraWatchResponseVo res = loraWatchUtils.sendloraRedLight(vo.getIP(), 0, 0, 0); |
|
|
|
|
|
System.out.println("--------------------jingdeng---"+res.getMessage()); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
collect.forEach(item->System.out.println("-----------------"+item.getIP())); |
|
|
collect.forEach(item->System.out.println("-----------------"+item.getIP())); |
|
|
|