Package org.shredzone.geordi.data
Class Sample
java.lang.Object
org.shredzone.geordi.data.Sample
public class Sample extends Object
-
Constructor Summary
Constructors Constructor Description Sample(Sensor sensor, Instant timestamp, BigDecimal value)
Creates a newSample
. -
Method Summary
Modifier and Type Method Description Sensor
getSensor()
Returns theSensor
that was read.Instant
getTimestamp()
Returns theInstant
the sensor was read.BigDecimal
getValue()
Returns the sensor value at that instant.String
toString()