| | |
| | | log.info("车牌号:" + sLicense + ":车辆类型:" + VehicleType + ":监控点编号:" + MonitoringSiteID + "-设备IP=" + deviceIp + "-SN=" + deviceSn); |
| | | |
| | | ApiInoutData data = HKConstant.getDataBySn(deviceSn); |
| | | |
| | | if (null != data) { |
| | | log.info(data.toString()); |
| | | data.setPlateNum(sLicense.substring(1)); |
| | | data.setErrorMsg(HKConstant.RESULT_SUCCESS); |
| | | data.setTime(new Date()); |
| | |
| | | |
| | | if (inoutEventControlManager == null) { |
| | | inoutEventControlManager = SpringUtil.getBean(InoutEventControlManager.class); |
| | | inoutEventControlManager.onReceivePlateNum(data); |
| | | } |
| | | |
| | | } |
| | | inoutEventControlManager.onReceivePlateNum(data); |
| | | }else{ |
| | | log.error("没有获取到车牌识别的配置!"); |
| | | } |
| | | |
| | | } catch (IOException e) { |