Exemplo n.º 1
0
        public Task StoreSpeedViolation([ActivityTrigger] SpeedViolation sv, ILogger log)
        {
            log.LogInformation($"Processing speed violation from camera {sv.CameraID}" +
                               $"for LP {sv.LicensePlateNumber} ({sv.SpeedKmh} km/h)");

            // Todo: Add code for processing speed violation
            //       Not implemented here, just a demo.

            return(Task.CompletedTask);
        }
Exemplo n.º 2
0
 public void SetSpeedViolation(SpeedViolation sv) => SpeedViolation = sv;