SportTracks 2.0 API
NumericTimeDataSeries Class
SportTracks 2.0 APIZoneFiveSoftware.Common.DataNumericTimeDataSeries
Implementation of the INumericTimeDataSeries interface.
Declaration Syntax
C#Visual Basic
Public Class NumericTimeDataSeries _
	Implements INumericTimeDataSeries, ITimeDataSeries(Of Single),  _
	IEnumerable(Of ITimeValueEntry(Of Single)), IEnumerable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
NumericTimeDataSeries()()()
Create an empty time series.

NumericTimeDataSeries(INumericTimeDataSeries)
Create a copy of an existing time series.

Add(DateTime, Single)
Add the value at the specified time. If AllowMultipleAtSameTime is false or if there is no entry at the specified elapsed time this sets the value at the specified time, otherwise the value is added to to the end maintaining the time order.

AllowMultipleAtSameTime
If true, multiple entries can appear at the same elapsed time, if false only a single entry will be present at each elapsed time. This is used for GPS routes, where points may be placed more frequently than once per second, or on a track with no time data.

Avg
The weighted average (based on elapsed time) of the values.

Clear()()()
Clear all entries from the collection.

Count
Get the count of items in the data series.

EntryDateTime(ITimeValueEntry<(Of <(Single>)>))
Return the DateTime of the specified entry. Shortcut to add StartTime+entry.ElapsedSeconds.

GetEnumerator()()()
Returns an enumeration of the values.

GetInterpolatedValue(DateTime)
Returns a linear interpolated value based on existing data at the specified time.

GetValueEnumerator()()()
Returns an enumeration of the values.

IndexOf(ITimeValueEntry<(Of <(Single>)>))
Return the index position of the specified entry.

Item[([(Int32])])
Return the value entry at the specified index.

Max
The maximum value found in the time series.

Min
The minimum value found in the time series.

RemoveAt(Int32)
Remove the entry at the specified index position.

SetValueAt(Int32, Single)
Set the value at the specified index position.

StartTime
The start time of the data track. If Count is zero this value will be invalid.

TotalElapsedSeconds
The total elapsed seconds of the track.

Inheritance Hierarchy
Object
NumericTimeDataSeries

Assembly: Common.Data (Module: Common.Data) Version: 2.0.2972.36983