This sensor returns a double and includes unit conversion.
public interface ISensorDouble : ISensor<double>,
ISensor, IVariable, ITypedExpression, IExpressionAcceptor, IExpression<double>| 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 ISensorT) |
| Id |
Unique id
(Inherited from ISensor) |
| Name | (Inherited from IVariable) |
| ResultType | (Inherited from ITypedExpression) |
| TargetUnit |
Target unit, unit in which the sensor is supposed to return its value.
Only available for sensors returning a double value |
| Value | (Inherited from IVariable) |
| Accept``1 | (Inherited from IExpressionAcceptor) |
| Evaluate | (Inherited from ITypedExpression) |
| TryEvaluate(UTP) | (Inherited from IExpressionDouble) |
| TryEvaluate(Object) | (Inherited from ITypedExpression) |