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