private void ResetRateMeasures() { for (int i = 0; i < _rateHistory.Length; i++) _rateHistory[i] = null; _rateHistory[0] = new ratemeasure { time = DateTime.Now, position = Position }; _rateIndex = 0; }
private void ResetRateMeasures() { for (int i = 0; i < _rateHistory.Length; i++) { _rateHistory[i] = null; } _rateHistory[0] = new ratemeasure { time = DateTime.Now, position = Position }; _rateIndex = 0; }