Package com.thegongoliers.input.current
Class CurrentTripSensor
- java.lang.Object
-
- com.thegongoliers.input.current.CurrentTripSensor
-
- All Implemented Interfaces:
Switch
- Direct Known Subclasses:
HighCurrentSensor
,LowCurrentSensor
public abstract class CurrentTripSensor extends java.lang.Object implements Switch
-
-
Field Summary
Fields Modifier and Type Field Description protected CurrentSensor
sensor
protected double
thresh
-
Constructor Summary
Constructors Constructor Description CurrentTripSensor(CurrentSensor 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 CurrentSensor sensor
-
thresh
protected double thresh
-
-
Constructor Detail
-
CurrentTripSensor
public CurrentTripSensor(CurrentSensor sensor, double thresh)
-
-