| | |
| | | GlobalVariable.loginMap.put(deviceInfo.getDeviceId(), lUserID); |
| | | log.debug("设备【" + deviceIpPort + "】登录成功"); |
| | | //获取通道 |
| | | if(deviceInfo.getDeviceType().equals("3")) { |
| | | //仅超脑设备获取通道 |
| | | HikClientUtil.getIPChannelInfo(deviceInfo.getDeviceId(), lUserID); |
| | | if(deviceInfo.getDeviceType()!=null) { |
| | | if (deviceInfo.getDeviceType().equals("3")) { |
| | | //仅超脑设备获取通道 |
| | | HikClientUtil.getIPChannelInfo(deviceInfo.getDeviceId(), lUserID); |
| | | } |
| | | } |
| | | // 设置报警回调函数,建立报警上传通道(启用布防) |
| | | int lAlarmHandle = HikClientUtil.setupAlarmChan(deviceIpPort, lUserID, -1); |