DataItemTimeSingleProxySource Class

A IDataItem that can update itself based on an IDoubleTimeVectorGetter

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class DataItemTimeSingleProxySource : DataItem
Inheritance
Object    DataItem    DataItemTimeSingleProxySource

Constructors

Properties

IndexList

For each element this can specify an index into another list where the data "belongs" to.

This can be null (if no reasonable correspondence exists or if the correspondence is trivial and therefor not needed ([0,1,2,3,...])).

For data on a reach, the element at index i in the IndexList having IndexList[i] = j is used to specify that the value belongs to GridPoint number j in a list of GridPoint's.


(Inherited from DataItem)
ItemId Id of item that this quantity belongs to. Null if not relevant.

Used e.g. to store the Id of the structure that the data belongs to.


(Inherited from DataItem)
ItemTypeGroup Describes what data group the data belongs to
(Inherited from DataItem)
NumberOfElements Number of elements.
(Inherited from DataItem)
NumberOfTimeSteps Number of time steps in data item.

Matches NumberOfTimeSteps, unless data for DataItem is not loaded, in which case it is zero


(Inherited from DataItem)
NumberWithinGroup Number within the group of ItemTypeGroup. Zero based.

If the number is -1, then the data belongs to all items within the ItemTypeGroup, i.e. if the ItemTypeGroup is NodeItem, then there is data for all nodes in the network.


(Inherited from DataItem)
Quantity Quantity description
(Inherited from DataItem)
Source List of sources for the DataItem, i.e., where to get new TimeData when Update(DateTime) is called.
TimeData List of time step data. Each list member contains data for one time step, The list has NumberOfTimeSteps elements.
(Inherited from DataItem)
VectorData Flag indicating if data item contains vector data or single value data
(Inherited from DataItem)

Methods

Clear Clear data item for time dependent data
(Inherited from DataItem)
CreateDataArray The property exposes the contained data as a two dimensional array. The array is [number of time steps, number of points]. The array is constructed every time called as a copy of Data, and not updated if the underlying Data is updated.
(Inherited from DataItem)
CreateTimeSeriesData Create an array of values for a given point with the given index, each element in the array corresponding the a given time.

Values are returned for the point at Chainages[pointIndex].

The result is an array having NumberOfTimeSteps elements.

The array is constructed every time called as a copy of the data in the data item.


(Inherited from DataItem)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue Returns the value for the element at the given element index and time index. Short-cut for GetValue(Int32, Int32)
(Inherited from DataItem)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update(DateTime) Update the TimeData with a new set of time step values
(Overrides DataItemUpdate(DateTime))
Update(DateTime, Int32) Update the TimeData with a new set of time step values
(Overrides DataItemUpdate(DateTime, Int32))

Fields

_indexList List with indexes
(Inherited from DataItem)
_itemId Item Id
(Inherited from DataItem)
_itemTypeGroup Item type group
(Inherited from DataItem)
_numberWithinGroup Index within group
(Inherited from DataItem)
_quantity Data quantity
(Inherited from DataItem)
_source Double getter used to access sources as a function of time
_timeData Data at time steps in vector case
(Inherited from DataItem)
_vectorData Flag indicating if data item contains vector data or single value data
(Inherited from DataItem)

See Also