public RideRecorder(MainContext context) { this.context = context; Ride = new CreateRideDto(); readings = new List <AccelerometerReadingDto>(); jumpDetectionUtility = new JumpDetectionUtility(this); }
public RideRecorder(MainContext context) { this.context = context; this.detectJumps = context.Settings.IsDetectingJumps; Ride = new CreateRideDto(); readings = new List <AccelerometerReadingDto>(); jumpDetectionUtility = new JumpDetectionUtility(context.GeoUtility); }