From f623c8694103ebd52a948cf1a6e5949a8eebaf45 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Tue, 6 Aug 2019 11:22:09 -0700 Subject: [PATCH] bug fix --- Lock/Locks.groovy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Lock/Locks.groovy b/Lock/Locks.groovy index 8b73dc5..626b244 100644 --- a/Lock/Locks.groovy +++ b/Lock/Locks.groovy @@ -28,10 +28,12 @@ public class Locks{ def init = Verify.getBoolean() if (init) { this.lockState = "locked" - this.lockLatestValue = "locked" + this.currentLock = "locked" + this.lockLatestValue = "locked" } else { this.lockState = "unlocked" - this.lockLatestValue = "unlocked" + this.currentLock = "unlocked" + this.lockLatestValue = "unlocked" } locks.add(new Lock(sendEvent,id, label, displayName, this.lockState, this.lockLatestValue)) } -- 2.34.1