| | |
| | | import com.fzzy.api.data.GatewayDeviceType; |
| | | import com.fzzy.gateway.GatewayUtils; |
| | | import com.fzzy.gateway.api.GatewayRemoteManager; |
| | | import com.fzzy.gateway.api.GatewaySyncLprService; |
| | | import com.fzzy.gateway.data.BaseResp; |
| | | import com.fzzy.gateway.data.BaseReqData; |
| | | import com.fzzy.gateway.entity.GateWayParam; |
| | |
| | | } |
| | | |
| | | BaseReqData reqData; |
| | | int i = 1; |
| | | int i = 0; |
| | | GatewaySyncLprService syncLprService; |
| | | for (GatewayDevice device : list) { |
| | | |
| | | if (!GatewayDeviceType.TYPE_02.getCode().equals(device.getType())) { |
| | |
| | | } |
| | | reqData = new BaseReqData(device); |
| | | reqData.setIndex(i); |
| | | gatewayRemoteManager.getSyncLprService(device.getSyncProtocol()).initLpr(reqData); |
| | | syncLprService = gatewayRemoteManager.getSyncLprService(device.getSyncProtocol()); |
| | | if(null == syncLprService) continue; |
| | | syncLprService.initLpr(reqData); |
| | | i++; |
| | | } |
| | | |