SensorT Class

A sensor retrieves a value from the simulation and acts as a variable in the control expressions.

Default implementation of ISensorT interface.

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 Sensor<T> : ISensor<T>, ISensor, 
	IVariable, ITypedExpression, IExpressionAcceptor, IExpression<T>
Inheritance
Object    SensorT
Derived
Implements
IExpressionT, IExpressionAcceptor, ITypedExpression, IVariable, ISensor, ISensorT

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:DHI.Mike1D.ControlModule.Sensor`1"]

Constructors

SensorT Default constructor.

Properties

Getter Getter used to extract the value of the sensor.

Not supported by all sensor types.

Id Unique id
ResultType Type of value that the sensor retrieves.
Value Current value of sensor

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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(Object) 
TryEvaluate(T) 

Fields

See Also