package MotionSensor
import Timer.SimulatedTimer
+//JPF's Verify API
+import gov.nasa.jpf.vm.Verify
+
public class MotionSensors {
private int deviceNumbers
private List motionSensors
this.deviceNumbers = deviceNumbers
this.motionSensors = []
+ def init = Verify.getBoolean()
+ if (init) {
+ this.motion = "inactive"
+ this.motionLatestValue = "inactive"
+ } else {
+ this.motion = "active"
+ this.motionLatestValue = "active"
+ }
motionSensors.add(new MotionSensor(id, label, displayName, this.motion, this.motionLatestValue))
}