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))
}