Click or drag to resize

ITimeData Interface

Data container, storing a number of time steps and element values.

It has methods for handling as well single valued items (one element) and vector items with several elements.

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface ITimeData

The ITimeData type exposes the following members.

Properties
  NameDescription
Public propertyNumberOfElements
Number of elements.
Public propertyNumberOfTimeSteps
Number of time steps.
Top
Methods
  NameDescription
Public methodAdd
Adds a time step, with empty data
Public methodAdd(Single)
Adds a time step, setting the provided value

calling this method is only valid if NumberOfElements equals 1.

Public methodAdd(Single)
Adds a time step, setting the provided values

calling this method is only valid if NumberOfElements is greater than 1.

Public methodClear
Remove all values from the object.
Public methodGetValue
Get value for the speficied time step and element
Public methodGetValues
Get values for all elements for the speficied time step

calling this method is only valid if NumberOfElements is greater than 1.

Public methodRemoveAt
Remove element at specified index.
Public methodSetValue
Set value at the speficied time step and element

For single valued items, when NumberOfElements equals 1, set elementIndex to zero.

Public methodSetValues
Set values for all elements at the speficied time step

calling this method is only valid if NumberOfElements is greater than 1.

Top
Extension Methods
  NameDescription
Public Extension MethodGetValue
Interplate a value in interval, with fraction, for the specified elementIndex
(Defined by ResultDataExtensions.)
Top
See Also