프로퍼티 | 타입 | 설명 | |
---|---|---|---|
logger | System.Logger |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
calibration | Calibration_2Points | ||
firstValue | bool | ||
isCalibrating | bool | ||
voltage | double |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
SetFirstValue ( ) : List |
||
SimulateSensor ( ) : Measurement |
public Sensor ( string Name, bool Simulation, System.Logger Logger ) : System | ||
Name | string | |
Simulation | bool | |
Logger | System.Logger | |
리턴 | System |
public StandardDeviation ( int readNumber = 10 ) : double | ||
readNumber | int | |
리턴 | double |