1 //Global Object for class lock!
2 @Field def lockObject = new Locking(sendEvent, 1)
3 //Global Object for class contactSensor!
4 @Field def contactObject = new Contacting(sendEvent, 1)
5 //Global Object for class Switch!
6 @Field def switchObject = new Switching(sendEvent, 1)