public class TemperatureMessage extends Message
Constructor and Description |
---|
TemperatureMessage(byte[] data) |
TemperatureMessage(java.util.Calendar timestamp,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getData(java.lang.Class<T> type)
Interprets the data as the given type.
|
static float |
getScale()
Retrieves the LSB to celsius ratio.
|
getData, getTimestamp, getTimestampAsString, toString
public TemperatureMessage(byte[] data)
public TemperatureMessage(java.util.Calendar timestamp, byte[] data)
public static float getScale()
public <T> T getData(java.lang.Class<T> type)
Message