package SwitchLevel
import Timer.SimulatedTimer
+//JPF's Verify API
+import gov.nasa.jpf.vm.Verify
+
public class SwitchLevels {
int deviceNumbers
List switchLevels
this.deviceNumbers = deviceNumbers
this.switchLevels = []
+ /*def initLevel = Verify.getIntFromList(30, 50, 70)
+ this.level = initLevel
+ def init = Verify.getBoolean()
+ if (init) {
+ this.switchState = "off"
+ this.currentSwitch = "off"
+ this.switchLatestValue = "off"
+ } else {
+ this.switchState = "on"
+ this.currentSwitch = "on"
+ this.switchLatestValue = "on"
+ }*/
switchLevels.add(new SwitchLevel(sendEvent, id, label, displayName, this.level, this.switchState, this.switchLatestValue))
}