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); }
public void SetSpeedViolation(SpeedViolation sv) => SpeedViolation = sv;