Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7ade47acac
@ -25,7 +25,7 @@ public class StatusDataRepository {
|
||||
/**
|
||||
* 当前所有设备状态信息
|
||||
*/
|
||||
private Map<String, GeneratedMessageV3.Builder> statusDataVOMap = new ConcurrentHashMap<>();
|
||||
private final Map<String, GeneratedMessageV3.Builder> statusDataVOMap = new ConcurrentHashMap<>();
|
||||
|
||||
/**
|
||||
* 初始化时,放入设备状态
|
||||
@ -48,10 +48,9 @@ public class StatusDataRepository {
|
||||
|
||||
/**
|
||||
* 对比获取设备变化了的状态信息
|
||||
* @param deviceStatusList 设备状态列表
|
||||
* @return 发生变化的状态信息
|
||||
*/
|
||||
public List<Message> collectAllCompareResult(List<GeneratedMessageV3.Builder> deviceStatusList) {
|
||||
public List<Message> collectAllCompare() {
|
||||
List<Message> resultMessage = new LinkedList<>();
|
||||
deviceStatusBuilder.forEach((k,v) -> {
|
||||
Message message = null;
|
||||
|
Loading…
Reference in New Issue
Block a user