| | |
| | | |
| | | package com.fzzy.protocol.sdkhk.common; |
| | | |
| | | import com.fzzy.api.data.GatewayDeviceType; |
| | | import com.fzzy.api.utils.SpringUtil; |
| | | import com.fzzy.gateway.GatewayUtils; |
| | | import com.fzzy.gateway.api.GatewayRemoteManager; |
| | |
| | | if (StringUtils.isNotEmpty(deviceIp)) deviceIp = deviceIp.trim(); |
| | | |
| | | |
| | | log.info("车牌号:" + sLicense + ":车辆类型:" + VehicleType + ":监控点编号:" + MonitoringSiteID + "-设备IP=" + deviceIp + "-SN=" + deviceSn); |
| | | //log.info("车牌号:" + sLicense + ":车辆类型:" + VehicleType + ":监控点编号:" + MonitoringSiteID + "-设备IP=" + deviceIp + "-SN=" + deviceSn); |
| | | |
| | | log.info("车牌号:" + sLicense + ":车辆类型:" + VehicleType + "-设备IP=" + deviceIp + "-SN=" + deviceSn); |
| | | |
| | | //开始执行推送 |
| | | GatewayDevice device = GatewayUtils.getCacheByDeviceSn(deviceSn); |
| | |
| | | |
| | | //数据封装推送 |
| | | BaseReqData reqData = new BaseReqData(device); |
| | | |
| | | if (sLicense.startsWith("蓝") || sLicense.startsWith("黄")) { |
| | | sLicense = sLicense.replace("蓝", "").replace("黄", ""); |
| | | } |
| | | reqData.setCarNumber(sLicense); |
| | | gatewayRemoteManager.getDeviceReportService(device.getPushProtocol()).reportLprData(reqData); |
| | | |