SensorTimeSeries Class

Sensor that gets the value from a time series

Definition

Namespace: DHI.Mike1D.ControlModule
Assembly: DHI.Mike1D.ControlModule (in DHI.Mike1D.ControlModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class SensorTimeSeries : IControlFunctionTime, 
	ISensorDouble, ISensor<double>, ISensor, IVariable, 
	ITypedExpression, IExpressionAcceptor, IExpression<double>
Inheritance
Object    SensorTimeSeries
Implements
IExpressionDouble, IExpressionAcceptor, ITypedExpression, IVariable, IControlFunctionTime, ISensor, ISensorDouble, ISensorDouble

Constructors

SensorTimeSeries Default constructor.

Properties

ConversionFactor Factor to convert from engine unit to sensor TargetUnit sensorValue = engineValue*ConversionFactor + ConversionOffset These factors are calculated based on the TargetUnit automatically when the sensor is created, and can be modified at a later point in time, if necessary.

Only available for sensors returning a double value

ConversionOffset Factor to convert from engine unit to sensor TargetUnit sensorValue = engineValue*ConversionFactor + ConversionOffset These factors are calculated based on the TargetUnit automatically when the sensor is created, and can be modified at a later point in time, if necessary.

Only available for sensors returning a double value

Id Unique id
ResultType 
TargetUnit Target unit, unit in which the sensor is supposed to return its value.

Only available for sensors returning a double value

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Evaluate 
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FinalizeTimeStep Finalize Timestep, during simulation
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Prepare(DateTime, IDiagnostics) Prepare, before simulation start
Prepare(DateTime, ControlData, SensorDescription, IDiagnostics) Preparing SensorTimeSeries, loading time series data.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryEvaluate(Double) 
TryEvaluate(Object) 
Update Update, during simulation

See Also