Click or drag to resize

TsItemDataDouble Class

Data for one TsItem.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.TimeSeriesTsItemDataDouble

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 TsItemDataDouble : ITsItemData<double>, 
	ITsItemData

The TsItemDataDouble type exposes the following members.

Constructors
  NameDescription
Public methodTsItemDataDouble
Initializes a new instance of the TsItemDataDouble class
Top
Properties
  NameDescription
Public propertyData
The time series item data (typed)
Public propertyDataArray
Data array of timeseries item data for each timestep. Its length matches the NumberOfTimes
Public propertyDateTimes
DateTimes in the time series. For a calendar time axis this is retrieved from the time series. For a relative time axis this is calculated relative to the time series StartTime that must be set before this is called.
Public propertyEndTime
Time series end time
Public propertyItem
Get data value for the given time step index.
Public propertyStartTime
Time series start time
Top
Methods
  NameDescription
Public methodStatic memberCreate(TsItem)
Create double data item for a time series
Public methodStatic memberCreate(TsItemValueType, ITsTime)
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 methodGetAccumulatedValue(DateTime, DateTime)

Get the accumulated value within the time interval. The accumulated value is the integral from start til end.

For the Accumulated it is the value difference from start til end, and alike for for the StepAccumulated,

If the item data does not fully cover the time interval, values outside the time interval are assumed to be zero.

Public methodGetAccumulatedValue(Double, Double)
GetAccumulatedValue(DateTime, DateTime). This version uses relative times.
Public methodGetAccumulatedValue(DateTime, DateTime, Int32)
GetAccumulatedValue(DateTime, DateTime). This version provides a lastInterval to look in first, for faster searching in the time series.
Public methodGetAccumulatedValue(Double, Double, Int32)
GetAccumulatedValue(DateTime, DateTime). This version uses relative times and provides a lastInterval to look in first, for faster searching in the time series.
Public methodGetData(DateTime)
Gets the raw data for the given time. It differs from the GetValue(DateTime) for the StepAccumulated and the Accumulated
Public methodGetData(Int32)
Get data value for the given time step index.
Public methodGetData(DateTime, Int32)
Gets the raw data for the given time. It differs from the GetValue(DateTime) for the StepAccumulated and the Accumulated
Public methodGetData(Double, Int32)
Gets the raw data for the given time since start of the time series. It differs from the GetValue(DateTime) for the StepAccumulated and the Accumulated
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInterval
Get interval for time
Public methodGetMaxValue(DateTime, DateTime)
The maximum value within the time interval. NOT IMPLEMENTED.
Public methodGetMaxValue(DateTime, DateTime, Int32)
GetMaxValue(DateTime, DateTime). This version provides a lastInterval to look in first, for faster searching in the time series. NOT IMPLEMENTED.
Public methodGetMeanValue(DateTime, DateTime)
The mean value is the GetAccumulatedValue(DateTime, DateTime) divided by the time interval length (in seconds). NOT IMPLEMENTED.
Public methodGetMeanValue(DateTime, DateTime, Int32)
GetMeanValue(DateTime, DateTime, Int32). This version provides a lastInterval to look in first, for faster searching in the time series. NOT IMPLEMENTED.
Public methodGetMinValue(DateTime, DateTime)
The minimum value within the time interval. NOT IMPLEMENTED.
Public methodGetMinValue(DateTime, DateTime, Int32)
GetMinValue(DateTime, DateTime). This version provides a lastInterval to look in first, for faster searching in the time series. NOT IMPLEMENTED.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(DateTime)
Get value for the given Date_time.
Public methodGetValue(Double)
Get value for the given relative time.
Public methodGetValue(DateTime, Int32)
Get value for the given Date_time. Last interval is provided for faster lookup.
Public methodGetValue(Double, Int32)
Get value for the given relative time. Last interval is provided for faster lookup.
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