measurement.go 198 B

12345678910
  1. package temperature
  2. // Measurement provides an interface for each reading
  3. type Measurement struct {
  4. // ID of the sensor
  5. ID int
  6. // Temperature in celcius
  7. Temperature float64
  8. BatteryGood bool
  9. }