Vehicle Entry
von Giritharan E
1. First We find LNPR Camera is present on params cam id
1.1. If camera is present
1.1.1. We update the camera status as working we call InitVehicleEntry service file.
1.1.1.1. After entring into service file we first find request cam is entry cam or exit cam.
1.1.1.1.1. If Entry cam
1.1.1.1.2. If Not Entry cam means (Internal Cam, Exit cam)
1.2. After Finding the we assign reindex_visit attribute for vehicle entry for reindexing purpose.
1.2.1. After assigning the attribute we save the vehicle entry. And updated the vehicle with vehicle type.
1.2.1.1. With vehicle entry we create vehicle tracking and upload image into aws.
1.2.1.1.1. After Creating vehicle entry and vehicle tracking we check entry tagging of lnpr with vms setting
1.2.1.1.2. When creating vehicle tracking we trigger vehicle entry worker in after commit of vehicle tracking of record.