SensorDouble Class

[Missing <summary> documentation for "T:DHI.Mike1D.ControlModule.SensorDouble"]

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 SensorDouble : Sensor<double>, 
	ISensorDouble, ISensor<double>, ISensor, IVariable, 
	ITypedExpression, IExpressionAcceptor, IExpression<double>
Inheritance
Object    SensorDouble    SensorDouble
Implements
IExpressionDouble, IExpressionAcceptor, ITypedExpression, IVariable, ISensor, ISensorDouble, ISensorDouble

Constructors

SensorDoubleInitializes a new instance of the SensorDouble class

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

Getter Getter used to extract the value of the sensor.

Not supported by all sensor types.


(Inherited from SensorT)
Id Unique id
(Inherited from SensorT)
ResultType Type of value that the sensor retrieves.
(Inherited from SensorT)
TargetUnit Target unit, unit in which the sensor is supposed to return its value.

Only available for sensors returning a double value

Value Current value of sensor
(Inherited from SensorT)

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)
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)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryEvaluate(T)
(Inherited from SensorT)

Fields

_getter
(Inherited from SensorT)

See Also