Merge pull request #655 from L120820/wvp-28181-2.0
【同步设备通道】第一次收到同步通道数据应该将通道数据放入 不然会造成通道数量不一致 同步时也会漏掉第一个通道pull/658/head
commit
7a41f66e8b
|
@ -42,7 +42,7 @@ public class CatalogDataCatch {
|
|||
catalogData.setSn(sn);
|
||||
catalogData.setTotal(total);
|
||||
catalogData.setDevice(device);
|
||||
catalogData.setChannelList(Collections.synchronizedList(new ArrayList<>()));
|
||||
catalogData.setChannelList(deviceChannelList);
|
||||
catalogData.setStatus(CatalogData.CatalogDataStatus.runIng);
|
||||
catalogData.setLastTime(Instant.now());
|
||||
data.put(deviceId, catalogData);
|
||||
|
|
Loading…
Reference in New Issue