package puck
Type Members
-
case class
Puck(sensorId: String, Latitude: Double, Longitude: Double, GatewayTime: Timestamp, SENtralTime: Long, ServerTime: Timestamp, CarPresence: Int, Temperature: Double, Battery: Double, topic: String) extends Product with Serializable
puck sensor
puck sensor
- sensorId
16 Digit Hex ID. Ex: 0080000004000675
- Latitude
Location of Sensor Ex: 38.42074876336795
- Longitude
Location of Sensor Ex:-122.75509041539759
- GatewayTime
Event Timestamp from Gateway. Subject to clock drift and misconfigured gateways. Ex: '2017-06-06T17:23:57.834Z'
- SENtralTime
Internal 36 bit timestamp in ticks. Ex: 309467131
- ServerTime
Canonical Event Timestemp from Server. '2017-06-06T17:17:08.977Z'
- CarPresence
State of sensor 0 = Initialization/startup (never published) 1 = No Car Present 2 = Car Entering Space 3 = Parked Car Detected 4 = Car Leaving Space
- Temperature
Temperature in celcius. Ex
: 23
- Battery
Battery Voltage ex: 3.6482174396514893
- topic
keep alive vs event detected