Свойство | Type | Description | |
---|---|---|---|
logger | System.Logger |
Свойство | Type | Description | |
---|---|---|---|
calibration | Calibration_2Points | ||
firstValue | bool | ||
isCalibrating | bool | ||
voltage | double |
Méthode | Description | |
---|---|---|
CalibrationPoint ( double value ) : double | ||
EndCalibration ( ) : void | ||
Initialization ( ) : void | ||
Measure ( ) : List |
Method that returns the "finished" measurement (or measurements), including calibration correction (if any) N.B. Measure has to set the LastMeasurement List before returning
|
|
Read ( ) : string |
Raw reading from the sensor, when it is in string format If the sensor uses this method then it will override it. If not overridden the method signals error by returning a "Nope!" string
|
|
ReadDouble ( ) : double |
Raw reading from the sensor, when it is a floating point number If the sensor uses this method then it will override it. If not overridden the method signals error by returning MaxValue
|
|
ReadInt ( ) : int |
Raw reading from the sensor, when it is an integer number If the sensor uses this method then it will override it. If not overridden the method signals error by returning MaxValue
|
|
Sensor ( string Name, bool Simulation, System.Logger Logger ) : System | ||
StandardDeviation ( int readNumber = 10 ) : double | ||
StartCalibration ( ) : void | ||
ToString ( ) : string |
Méthode | Description | |
---|---|---|
SetFirstValue ( ) : List |
||
SimulateSensor ( ) : Measurement |
public CalibrationPoint ( double value ) : double | ||
value | double | |
Résultat | double |
public Sensor ( string Name, bool Simulation, System.Logger Logger ) : System | ||
Name | string | |
Simulation | bool | |
Logger | System.Logger | |
Résultat | System |
public StandardDeviation ( int readNumber = 10 ) : double | ||
readNumber | int | |
Résultat | double |
protected Calibration_2Points calibration | ||
Résultat | Calibration_2Points |