Package jmri.jmrit.ctc
Class SwitchDirectionLever
- java.lang.Object
-
- jmri.jmrit.ctc.SwitchDirectionLever
-
public class SwitchDirectionLever extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SwitchDirectionLever(java.lang.String userIdentifier, NBHSensor switchLeverSensor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPresentState()
NBHSensor
getSwitchLeverSensor()
void
removeAllListeners()
-
-
-
Constructor Detail
-
SwitchDirectionLever
public SwitchDirectionLever(java.lang.String userIdentifier, NBHSensor switchLeverSensor)
-
-
Method Detail
-
removeAllListeners
public void removeAllListeners()
-
getSwitchLeverSensor
public NBHSensor getSwitchLeverSensor()
-
getPresentState
public int getPresentState()
-
-