private PostionUpdateDebugData(PositionUpdateType positionUpdateType, double?distance, double distanceFilter, double stationaryRadius)
 {
     PositionUpdateType = positionUpdateType;
     _distance          = distance;
     _distanceFilter    = distanceFilter;
     _stationaryRadius  = stationaryRadius;
 }
 private PostionUpdateDebugData(PositionUpdateType positionUpdateType, double? distance, double distanceFilter, double stationaryRadius)
 {
     PositionUpdateType = positionUpdateType;
     _distance = distance;
     _distanceFilter = distanceFilter;
     _stationaryRadius = stationaryRadius;
 }
        private PostionUpdateDebugData(PositionChangedEventArgs positionChangesEventArgs, double?currentAvgSpeed, UpdateScaledDistanceFilterResult updateScaledDistanceFilter, uint reportInterval, bool exitedFromStationary)
        {
            PositionUpdateType = exitedFromStationary ? PositionUpdateType.ExitStationary : PositionUpdateType.NewPosition;

            _currentAvgSpeed = currentAvgSpeed;
            _accuracy        = positionChangesEventArgs.Position.Coordinate.Accuracy;
            _reportInterval  = reportInterval;

            _scaledDistanceFilterChanged = updateScaledDistanceFilter.ScaledDistanceFilterChanged;
            _initialScaledDistanceFilter = updateScaledDistanceFilter.InitialScaledDistanceFilter;
            _newScaledDistanceFilter     = updateScaledDistanceFilter.NewScaledDistanceFilter;
        }
        private PostionUpdateDebugData(PositionChangedEventArgs positionChangesEventArgs, double? currentAvgSpeed, UpdateScaledDistanceFilterResult updateScaledDistanceFilter, uint reportInterval, bool exitedFromStationary)
        {
            PositionUpdateType = exitedFromStationary ? PositionUpdateType.ExitStationary : PositionUpdateType.NewPosition;

            _currentAvgSpeed = currentAvgSpeed;
            _accuracy = positionChangesEventArgs.Position.Coordinate.Accuracy;
            _reportInterval = reportInterval;

            _scaledDistanceFilterChanged = updateScaledDistanceFilter.ScaledDistanceFilterChanged;
            _initialScaledDistanceFilter = updateScaledDistanceFilter.InitialScaledDistanceFilter;
            _newScaledDistanceFilter = updateScaledDistanceFilter.NewScaledDistanceFilter;
        }
 public static PostionUpdateDebugData ForSkip(PositionUpdateType positionUpdateType, double?distance, double distanceFilter, double stationaryRadius)
 {
     return(new PostionUpdateDebugData(positionUpdateType, distance, distanceFilter, stationaryRadius));
 }
 private PostionUpdateDebugData(uint reportInterval, double distanceToExitStationary)
 {
     PositionUpdateType        = PositionUpdateType.StationaryUpdate;
     _reportInterval           = reportInterval;
     _distanceToExitStationary = distanceToExitStationary;
 }
 public static PostionUpdateDebugData ForSkip(PositionUpdateType positionUpdateType, double? distance, double distanceFilter, double stationaryRadius)
 {
     return new PostionUpdateDebugData(positionUpdateType, distance, distanceFilter, stationaryRadius);
 }
 private PostionUpdateDebugData(uint reportInterval, double distanceToExitStationary)
 {
     PositionUpdateType = PositionUpdateType.StationaryUpdate;
     _reportInterval = reportInterval;
     _distanceToExitStationary = distanceToExitStationary;
 }