Click or drag to resize

TsItem Class

One time series item, containing one time series of a specified type.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.TimeSeriesTsItem

Namespace:  DHI.Mike1D.Generic.TimeSeries
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public class TsItem

The TsItem type exposes the following members.

Constructors
  NameDescription
Public methodTsItem
Crate a TsItem that belongs to tsCollection
Top
Properties
  NameDescription
Public propertyCollection
Collection that item is part of
Public propertyData

Retrieves a TsItemDataDouble object containing the actual data of the TSItem.

Data is only available if the TS has been populated with data. If data is not available Data will throw an exception

Public propertyDataIsLoaded
Retruns true if data has been loaded.
Public propertyDataType
Type of data in the timeseries.
Public propertyEumQuantity
Retrieves the EumQuantity of the item.
Public propertyName
Name/description of the item.
Public propertyValueType
Defining the meaning of the values in the time series.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Factory method to create a time series item with a specific type, value type and quantity
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetNextTransitionTime(DateTime)Overloaded.
Returns the next transition time after the given dateTime for the time series item. A transition time is a time where the value of the time series item changes next.

If the specified time is equal to the latest time of the item, then the latest time is returned.

(Defined by TsExtensions.)
Public Extension MethodGetNextTransitionTime(TsTime, DateTime)Overloaded.
Returns the next transition time after the given dateTime for the time series item. A transition time is a time where the value of the time series item changes next.

If the specified time is equal to the latest time of the item, then the latest time is returned.

(Defined by TsExtensions.)
Top
See Also