Package jmri.jmrit.ctc
Class SwitchDirectionIndicators
- java.lang.Object
-
- jmri.jmrit.ctc.SwitchDirectionIndicators
-
public class SwitchDirectionIndicators extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SwitchDirectionIndicators(java.lang.String userIdentifier, NBHSensor normalIndicatorSensor, NBHSensor reveresedIndicatorSensor, NBHTurnout actualTurnout, int codingTimeInMilliseconds, boolean feedbackDifferent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
codeButtonPressed(int requestedState)
int
getLastIndicatorState()
NBHSensor
getProperIndicatorSensor(boolean isNormal)
boolean
inCorrespondence()
void
removeAllListeners()
-
-
-
Constructor Detail
-
SwitchDirectionIndicators
public SwitchDirectionIndicators(java.lang.String userIdentifier, NBHSensor normalIndicatorSensor, NBHSensor reveresedIndicatorSensor, NBHTurnout actualTurnout, int codingTimeInMilliseconds, boolean feedbackDifferent)
-
-
Method Detail
-
removeAllListeners
public void removeAllListeners()
-
codeButtonPressed
public void codeButtonPressed(int requestedState)
-
getLastIndicatorState
public int getLastIndicatorState()
-
inCorrespondence
public boolean inCorrespondence()
-
getProperIndicatorSensor
public NBHSensor getProperIndicatorSensor(boolean isNormal)
-
-