Class DHT11Result
- java.lang.Object
-
- com.inhousegreenhouse.ch.backend.model.greenhouse.dht.DHT11Result
-
public class DHT11Result extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ERR_CRC
static int
ERR_MISSING_DATA
static int
ERR_NO_ERROR
-
Constructor Summary
Constructors Constructor Description DHT11Result(int errorCode, double temperature, double humidity, int listElements, int detectedBits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
double
getHumidity()
double
getTemperature()
boolean
isValid()
-
-
-
Field Detail
-
ERR_NO_ERROR
public static final int ERR_NO_ERROR
- See Also:
- Constant Field Values
-
ERR_MISSING_DATA
public static final int ERR_MISSING_DATA
- See Also:
- Constant Field Values
-
ERR_CRC
public static final int ERR_CRC
- See Also:
- Constant Field Values
-
-