Commit 596a633d2e33317909f40bb2485038d4f307768c
1 parent
b8bb9c1b
修复更新通道日志显示
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/event/request/impl/message/response/cmd/CatalogResponseMessageHandler.java
| @@ -118,8 +118,8 @@ public class CatalogResponseMessageHandler extends SIPRequestProcessorParent imp | @@ -118,8 +118,8 @@ public class CatalogResponseMessageHandler extends SIPRequestProcessorParent imp | ||
| 118 | channelList.add(deviceChannel); | 118 | channelList.add(deviceChannel); |
| 119 | } | 119 | } |
| 120 | int sn = Integer.parseInt(snElement.getText()); | 120 | int sn = Integer.parseInt(snElement.getText()); |
| 121 | - logger.info("收到来自设备【{}】的通道: {}个,{}/{}", device.getDeviceId(), channelList.size(), catalogDataCatch.get(key) == null ? 0 :catalogDataCatch.get(key).size(), sumNum); | ||
| 122 | catalogDataCatch.put(device.getDeviceId(), sn, sumNum, device, channelList); | 121 | catalogDataCatch.put(device.getDeviceId(), sn, sumNum, device, channelList); |
| 122 | + logger.info("收到来自设备【{}】的通道: {}个,{}/{}", device.getDeviceId(), channelList.size(), catalogDataCatch.get(device.getDeviceId()) == null ? 0 :catalogDataCatch.get(device.getDeviceId()).size(), sumNum); | ||
| 123 | if (catalogDataCatch.get(device.getDeviceId()).size() == sumNum) { | 123 | if (catalogDataCatch.get(device.getDeviceId()).size() == sumNum) { |
| 124 | // 数据已经完整接收 | 124 | // 数据已经完整接收 |
| 125 | boolean resetChannelsResult = storager.resetChannels(device.getDeviceId(), catalogDataCatch.get(device.getDeviceId())); | 125 | boolean resetChannelsResult = storager.resetChannels(device.getDeviceId(), catalogDataCatch.get(device.getDeviceId())); |