projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename PanicButton to BoreDooomButton and eliminate door id
[svn42.git]
/
go
/
r3-eventbroker_zmq
/
r3events
/
basicevents.go
diff --git
a/go/r3-eventbroker_zmq/r3events/basicevents.go
b/go/r3-eventbroker_zmq/r3events/basicevents.go
index
e5fa2dc
..
e1dacc6
100644
(file)
--- a/
go/r3-eventbroker_zmq/r3events/basicevents.go
+++ b/
go/r3-eventbroker_zmq/r3events/basicevents.go
@@
-4,13
+4,16
@@
package r3events
type DoorLockUpdate struct {
type DoorLockUpdate struct {
- DoorID int
Locked bool
Ts int64
}
type DoorAjarUpdate struct {
Locked bool
Ts int64
}
type DoorAjarUpdate struct {
- DoorID int
+ Shut bool
+ Ts int64
+}
+
+type BackdoorAjarUpdate struct {
Shut bool
Ts int64
}
Shut bool
Ts int64
}
@@
-22,8
+25,7
@@
type DoorCommandEvent struct {
Ts int64
}
Ts int64
}
-type ButtonPressUpdate struct {
- Buttonindex int
+type BoreDoomButtonPressEvent struct {
Ts int64
}
Ts int64
}