Skip to content
Documentation

TimeSeriesDataCalculationWrapper<TValue> Struct

A wrapper used for formula calculation.

public readonly struct TimeSeriesDataCalculationWrapper<TValue> : HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>, HAKOM.TSM.Net.Api.Data.IData<TValue>, System.IEquatable<HAKOM.TSM.Net.Api.Data.IData<TValue>>, System.Numerics.IDivisionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IDivisionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, TValue, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IMultiplyOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IMultiplyOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, TValue, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.ISubtractionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.ISubtractionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, TValue, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IAdditionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IAdditionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>, TValue, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.IEquatable<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>
where TValue : System.Numerics.IAdditionOperators<TValue, TValue, TValue>, System.Numerics.ISubtractionOperators<TValue, TValue, TValue>, System.Numerics.IMultiplyOperators<TValue, TValue, TValue>, System.Numerics.IDivisionOperators<TValue, TValue, TValue>, System.IEquatable<TValue>, System.IComparable<TValue>

TValue

Implements HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>, HAKOM.TSM.Net.Api.Data.IData<TValue>, System.IEquatable<HAKOM.TSM.Net.Api.Data.IData<TValue>>, System.Numerics.IDivisionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IDivisionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,TValue,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IMultiplyOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IMultiplyOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,TValue,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.ISubtractionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.ISubtractionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,TValue,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IAdditionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.Numerics.IAdditionOperators<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>,TValue,HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>, System.IEquatable<HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>>

TimeSeriesDataCalculationWrapper(ITimeSeriesData<TValue>, IArithmeticOperations<TValue>, ITimeSeriesDataFactory, Nullable<int>) Constructor

Section titled “TimeSeriesDataCalculationWrapper(ITimeSeriesData<TValue>, IArithmeticOperations<TValue>, ITimeSeriesDataFactory, Nullable<int>) Constructor”

Creates a new instance of TimeSeriesDataCalculationWrapper<TValue>.

public TimeSeriesDataCalculationWrapper(HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue> underlying, HAKOM.TSM.Net.Api.Data.TimeSeries.Math.IArithmeticOperations<TValue> arithmeticOperations, HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesDataFactory timeSeriesDataFactory, System.Nullable<int> index=null);

underlying HAKOM.TSM.Net.Api.Data.TimeSeries.ITimeSeriesData<TValue>

The underlying ITimeSeriesData<TValue> which will be used for this wrapper.

arithmeticOperations HAKOM.TSM.Net.Api.Data.TimeSeries.Math.IArithmeticOperations<TValue>

The IArithmeticOperations<TValue> which will be used for all calculations.

timeSeriesDataFactory ITimeSeriesDataFactory

The ITimeSeriesDataFactory which will be used to qcreate new data points.

index System.Nullable<System.Int32>

The System.Int32 index of the data in the formula, to which the wrapper is referring.

TimeSeriesDataCalculationWrapper<TValue>.Flag Property

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Flag Property”

Gets the Flag of the data point.

public HAKOM.TSM.Net.Api.Flags.Flag Flag { get; set; }

Implements Flag

Flag

TimeSeriesDataCalculationWrapper<TValue>.Index Property

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Index Property”

Gets the index of the data in the formula, to which the wrapper is referring.

public System.Nullable<int> Index { get; }

System.Nullable<System.Int32>

TimeSeriesDataCalculationWrapper<TValue>.Time Property

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Time Property”

Gets the time of the data point.

public System.DateTimeOffset Time { get; }

Implements Time

System.DateTimeOffset

TimeSeriesDataCalculationWrapper<TValue>.Value Property

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Value Property”

Gets the value of the data point.

public TValue Value { get; set; }

Implements Value

TValue

TimeSeriesDataCalculationWrapper<TValue>.Equals(TimeSeriesDataCalculationWrapper<TValue>) Method

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Equals(TimeSeriesDataCalculationWrapper<TValue>) Method”

Compares this wrapper to the given other wrapper for equality.

public bool Equals(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> other);

other HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The TimeSeriesDataCalculationWrapper<TValue> which will be used for the equality check.

System.Boolean
True, if the wrappers are equal, otherwise false.

TimeSeriesDataCalculationWrapper<TValue>.Equals(IData<TValue>) Method

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Equals(IData<TValue>) Method”

Compares this wrapper to the given IData<TValue> for equality.

public bool Equals(HAKOM.TSM.Net.Api.Data.IData<TValue>? other);

other HAKOM.TSM.Net.Api.Data.IData<TValue>

The IData<TValue> which will be used for the equality check.

System.Boolean
True, if this wrapper is equal to the given IData<TValue>, otherwise false.

TimeSeriesDataCalculationWrapper<TValue>.Equals(object) Method

Section titled “TimeSeriesDataCalculationWrapper<TValue>.Equals(object) Method”

Compares this wrapper to the given System.Object for equality.

public override bool Equals(object? obj);

obj System.Object

The System.Object which will be used for the equality check.

System.Boolean
True, if this wrapper is equal to the given System.Object, otherwise false.

TimeSeriesDataCalculationWrapper<TValue>.GetHashCode() Method

Section titled “TimeSeriesDataCalculationWrapper<TValue>.GetHashCode() Method”

Gets the hash code of this wrapper using its Time, Value, Flag and Index.

public override int GetHashCode();

System.Int32
An System.Int32 representation of the hash code of this wrapper.

TimeSeriesDataCalculationWrapper<TValue>.ToString() Method

Section titled “TimeSeriesDataCalculationWrapper<TValue>.ToString() Method”

Gets a string representation of this wrapper using its Time, Value, Flag and Index.

public override string ToString();

System.String

TimeSeriesDataCalculationWrapper<TValue>.operator +(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator +(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator”

Calls the Add method of IArithmeticOperations with the given wrappers.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator +(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand.

right HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The second operand.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The sum of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator +(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator +(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator”

Calls the Add method of IArithmeticOperations with the given wrapper and value.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator +(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, TValue right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand - the wrapper.

right TValue

The second operand - the value.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The sum of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator /(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator /(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator”

Calls the Divide method of IArithmeticOperations with the given wrappers.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator /(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand.

right HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The second operand.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The quotient of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator /(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator /(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator”

Calls the Divide method of IArithmeticOperations with the given wrapper and value.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator /(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, TValue right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand - the wrapper.

right TValue

The second operand - the value.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The quotient of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator ==(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator ==(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator”

Compares the two operands for equality.

public static bool operator ==(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand.

right HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The second operand.

System.Boolean
True, if the operands are equal, otherwise false.

TimeSeriesDataCalculationWrapper<TValue>.operator !=(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator !=(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator”

Compares the two operands for inequality.

public static bool operator !=(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand.

right HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The second operand.

System.Boolean
False, if the operands are equal, otherwise true.

TimeSeriesDataCalculationWrapper<TValue>.operator *(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator *(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator”

Calls the Multiply method of IArithmeticOperations with the given wrappers.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator *(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand.

right HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The second operand.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The product of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator *(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator *(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator”

Calls the Multiply method of IArithmeticOperations with the given wrapper and value.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator *(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, TValue right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand - the wrapper.

right TValue

The second operand - the value.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The product of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator -(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator -(TimeSeriesDataCalculationWrapper<TValue>, TimeSeriesDataCalculationWrapper<TValue>) Operator”

Calls the Subtract method of IArithmeticOperations with the given wrappers.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator -(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand.

right HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The second operand.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The difference of the operands.

TimeSeriesDataCalculationWrapper<TValue>.operator -(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator

Section titled “TimeSeriesDataCalculationWrapper<TValue>.operator -(TimeSeriesDataCalculationWrapper<TValue>, TValue) Operator”

Calls the Subtract method of IArithmeticOperations with the given wrapper and value.

public static HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> operator -(HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue> left, TValue right);

left HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>

The first operand - the wrapper.

right TValue

The second operand - the value.

HAKOM.TSM.Net.Api.Calculation.Formulas.TimeSeriesDataCalculationWrapper<TValue>
The difference of the operands.

© 2026 Volue.Version v0.6.38017 November 2026