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