Click or drag to resize

TsCollection Class

Contains a collection of time series, often matching the time series of one file.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.TimeSeriesTsCollection

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 TsCollection

The TsCollection type exposes the following members.

Properties
  NameDescription
Public propertyBridge
Bridge to time series data. Handles loading and unloading of header and data
Public propertyCount
Returns the number of items in the time series.
Public propertyDeleteValue
Delete value
Public propertyItemCount
Number of items in collection
Public propertyLoadState
The load state of this TsCollection
Public propertyTime
Returns a TsTime containing the temporal information of the time series.
Top
Methods
  NameDescription
Public methodAdd
Add the TsItem to the collection
Public methodStatic memberCreate(String)
Creates a new TsCollection based on the file name. Header or data is not loaded. By default values are converted to SI units
Public methodStatic memberCreate(String, Boolean)
Creates a new TsCollection based on the file name. Header or data is not loaded.
Public methodStatic memberCreate(String, IListITsDataConverter)
Creates a new TsCollection based on the file name. Header or data is not loaded. Applies the converters when loading the file.
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 methodGetItem
Return a TsItem representing the specifed item number.
Public methodGetItemIndex
Get the index of the n'th item of the specified quantity. If the TsCoollection has 2 water level items and 3 discharge items, then asking for the 0'th discharge item will return 2.
Public methodGetNextTransitionTime
Returns the next transition time after the given dateTime for the specified item index. If the specified time is equal to the latest time, then the latest time is returned.

A transition time is a time where the value changes.

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
See Also