| | |
| | | int sumNum = Integer.parseInt(sumNumElement.getText()); |
| | | |
| | | if (sumNum == 0) { |
| | | logger.info("收到来自设备【{}】的通道: 0个", take.getDevice().getDeviceId()); |
| | | // 数据已经完整接收 |
| | | storager.cleanChannelsForDevice(take.getDevice().getDeviceId()); |
| | | catalogDataCatch.setChannelSyncEnd(take.getDevice().getDeviceId(), null); |
| | |
| | | if (channelDeviceElement == null) { |
| | | continue; |
| | | } |
| | | //by brewswang |
| | | // if (NumericUtil.isDouble(XmlUtil.getText(itemDevice, "Longitude"))) {//如果包含位置信息,就更新一下位置 |
| | | // processNotifyMobilePosition(evt, itemDevice); |
| | | // } |
| | | DeviceChannel deviceChannel = XmlUtil.channelContentHander(itemDevice, device); |
| | | DeviceChannel deviceChannel = XmlUtil.channelContentHander(itemDevice, device, null); |
| | | deviceChannel.setDeviceId(take.getDevice().getDeviceId()); |
| | | |
| | | channelList.add(deviceChannel); |