f57e9543d60da4ea58a8fa8756dcb353309c4e17
[svn42.git] / go / r3events / metaevents.go
1 // (c) Bernhard Tittelbach, 2013
2
3 package r3events
4
5 type PresenceUpdate struct {
6     Present bool
7     Ts int64
8 }
9
10 type SomethingReallyIsMoving struct {
11     Movement bool
12     Confidence uint8
13     Ts int64
14 }
15
16 type TempSensorSpike struct {
17     Sensorindex int
18     Value float64    
19     Ts int64
20 }
21
22 type DustSensorSpike struct {
23     Sensorindex int
24     Value int64
25     Ts int64
26 }