Fixing bug in Mobile Presence class
[smartthings-infrastructure.git] / GlobalVariables / GlobalVariablesEachApp.groovy
index ce8308c37c852688d4ceefb528e12573ac422f79..f0e6cc7beb006ac87879073ddd916ef263a2e343 100644 (file)
@@ -3,14 +3,15 @@ def state = [home:[],away:[],night:[]]
 //Create a global logger object for methods
 def log = new Logger()
 //Create a global variable for Functions in Subscribe method
 //Create a global logger object for methods
 def log = new Logger()
 //Create a global variable for Functions in Subscribe method
-def functionList = []
+def functionList = new ArrayList(20)
 //Create a global variable for Objects in Subscribe method
 //Create a global variable for Objects in Subscribe method
-def objectList = []
+def objectList = new ArrayList(20)
 //Create a global variable for Events in Subscribe method
 //Create a global variable for Events in Subscribe method
-def eventList = []
-//Create a global list for function schedulers
-def timersFuncList = []
-//Create a global list for timer schedulers
-def timersList = []
+def eventList = new ArrayList(20)
+def valueList = new ArrayList(20)
 //Create a global variable for settings
 def settings
 //Create a global variable for settings
 def settings
+//Zip code
+def zipCode = 92617
+//atomicState variable
+def atomicState = [version: "1.01"]