Fixing a bug in locks: latestValue should have similar value with currentValue.
[smartthings-infrastructure.git] / appTouch / Touched.groovy
index 530d64b2e906ff1e1ea81184ff1aaf615b7daa81..e4310fecf57664cd1b3c1e892b9355c3470ed9fd 100644 (file)
@@ -4,10 +4,12 @@ package appTouch
 public class Touched{
        def sendEvent
        private int isTouched
+       private String label
 
        Touched(Closure sendEvent, int isTouched) {
                this.sendEvent = sendEvent
                this.isTouched = isTouched
+               this.label = "App"
        }
 
        //By Model Checker