package SleepSensor
import Timer.SimulatedTimer
+//JPF's Verify API
+import gov.nasa.jpf.vm.Verify
+
public class SleepSensors {
private int deviceNumbers
private List sleepSensors
this.deviceNumbers = deviceNumbers
this.sleepSensors = []
+ def init = Verify.getBoolean()
+ if (init) {
+ this.sleeping = "sleeping"
+ } else {
+ this.sleeping = "not sleeping"
+ }
sleepSensors.add(new SleepSensor(id, label, displayName, this.sleeping))
}