Changes in classes: new concept for latest value + all types of events generated...
[smartthings-infrastructure.git] / appTouch / Touched.groovy
index e4310fecf57664cd1b3c1e892b9355c3470ed9fd..1d9e57fd18ff17c1cb95bc3e91ea931674aca6e4 100644 (file)
@@ -3,13 +3,15 @@ package appTouch
 
 public class Touched{
        def sendEvent
+       private String id
        private int isTouched
        private String label
 
        Touched(Closure sendEvent, int isTouched) {
                this.sendEvent = sendEvent
                this.isTouched = isTouched
-               this.label = "App"
+               this.label = "app0"
+               this.id = "appID0"
        }
 
        //By Model Checker