Interface ISensor
Represents the functionality for a sensor.
public interface ISensor
Properties
Range
Gets or sets the range.
Range Range { get; set; }
Property Value
Unit
Gets or sets the unit.
string Unit { get; set; }
Property Value
Methods
Scale(double)
Scales an analog input to the sensor value.
double Scale(double input)
Parameters
input
doubleAnalog input value.
Returns
- double
The sensor value.