"First commit!"
[smartthings-infrastructure.git] / GlobalVariables / GlobalVariables.groovy
1 //create a location object to change the variable inside the class
2 @Field def location = new locationVar()
3 //Settings variable defined to settings on purpose
4 @Field def settings = "Settings"
5 //Global variable for state[mode]
6 @Field def state = [home:[],away:[],night:[]]
7 //Create a global logger object for methods
8 @Field def log = new Logger()
9 //Create a global object for app
10 @Field def app = new Touch(1)
11 //Create a global list for objects for events on subscribe methods
12 @Field def ObjectList = []
13 //Create a global list for events
14 @Field def EventList = []
15 //Create a global list for function calls based on corresponding events
16 @Field def FunctionList = []
17 //Create a global list for function schedulers
18 @Field def ListofTimersFunc = []
19 //Create a global list for timer schedulers
20 @Field def ListofTimers = []
21
22