Implementation of the INumericTimeDataSeries interface.
| C# | Visual Basic |
public class NumericTimeDataSeries : INumericTimeDataSeries, ITimeDataSeries<float>, IEnumerable<ITimeValueEntry<float>>, IEnumerable
Public Class NumericTimeDataSeries _ Implements INumericTimeDataSeries, ITimeDataSeries(Of Single), _ IEnumerable(Of ITimeValueEntry(Of Single)), IEnumerable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| 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.
|
| Object | |
| NumericTimeDataSeries | |