ITimeData Interface |
It has methods for handling as well single valued items (one element) and vector items with several elements.
Namespace: DHI.Mike1D.ResultDataAccess
The ITimeData type exposes the following members.
Name | Description | |
---|---|---|
![]() | NumberOfElements |
Number of elements.
|
![]() | NumberOfTimeSteps |
Number of time steps.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds a time step, with empty data
|
![]() | Add(Single) |
Adds a time step, setting the provided value
calling this method is only valid if NumberOfElements equals 1. |
![]() | Add(Single) |
Adds a time step, setting the provided values
calling this method is only valid if NumberOfElements is greater than 1. |
![]() | Clear |
Remove all values from the object.
|
![]() | GetValue |
Get value for the speficied time step and element
|
![]() | GetValues |
Get values for all elements for the speficied time step
calling this method is only valid if NumberOfElements is greater than 1. |
![]() | RemoveAt |
Remove element at specified index.
|
![]() | SetValue |
Set value at the speficied time step and element
For single valued items, when NumberOfElements equals 1, set elementIndex to zero. |
![]() | SetValues |
Set values for all elements at the speficied time step
calling this method is only valid if NumberOfElements is greater than 1. |
Name | Description | |
---|---|---|
![]() | GetValue |
Interplate a value in interval, with fraction,
for the specified elementIndex (Defined by ResultDataExtensions.) |