projects
/
smartthings-infrastructure.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Commit #7: eventHandler and event queue are unique between two apps now. (Similar...
[smartthings-infrastructure.git]
/
GlobalVariables
/
GlobalVariablesBothApps.groovy
1
//Create a global variable for send event
2
@Field def sendEvent = {eventDataMap ->
3
eventHandler(eventDataMap)
4
}
5
//Object for location
6
@Field def locationObject = new LocationVar()
7
//Object for touch
8
@Field def appObject = new Touched(sendEvent, 0)
9
//Create a global list for events
10
@Field def evt = []