Package com.thegongoliers.input.voltage
Class VoltageTripSensor
- java.lang.Object
-
- com.thegongoliers.input.voltage.VoltageTripSensor
-
- All Implemented Interfaces:
Switch
- Direct Known Subclasses:
HighVoltageSensor
,LowVoltageSensor
public abstract class VoltageTripSensor extends java.lang.Object implements Switch
-
-
Field Summary
Fields Modifier and Type Field Description protected VoltageSensor
sensor
protected double
thresh
-
Constructor Summary
Constructors Constructor Description VoltageTripSensor(VoltageSensor sensor, double thresh)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.thegongoliers.input.switches.Switch
isTriggered
-
-
-
-
Field Detail
-
sensor
protected final VoltageSensor sensor
-
thresh
protected final double thresh
-
-
Constructor Detail
-
VoltageTripSensor
public VoltageTripSensor(VoltageSensor sensor, double thresh)
-
-