Interface IAnalogInput
Provides functionality for an analog input.
public interface IAnalogInput : IHasKey, IHasDescription
- Inherited Members
Properties
Adjustment
Gets or sets the adjustment.
IAdjustment Adjustment { get; set; }
Property Value
Sensor
Gets or sets the sensor.
ISensor Sensor { get; set; }
Property Value
UnadjustedValue
Gets the value, that isn't adjusted by Adjustment.
double UnadjustedValue { get; }
Property Value
UnscaledValue
Gets the real value of the analog input, not scaled by Sensor and not adjusted by Adjustment. Usually in V or mA.
double UnscaledValue { get; }
Property Value
Value
Gets the value adjusted by Adjustment.
double Value { get; }
Property Value
Methods
GetValue()
Gets the value from the sensor, e. g. the temperature.
double GetValue()
Returns
- double
The sensor value, scaled and adjusted.
Examples
Implement like:
Adjustment.Scale(Sensor.Scale(this.GetInputValue()))