Class SRCPTurnout

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.lang.Comparable<NamedBean>, java.util.EventListener, PropertyChangeProvider, DigitalIO, NamedBean, Turnout, VariableControlSpanBean

    public class SRCPTurnout
    extends AbstractTurnout
    SRCP implementation of the Turnout interface.

    This object doesn't listen to the SRCP communications. This is because it should be the only object that is sending messages for this turnout; more than one Turnout object pointing to a single device is not allowed. Extend jmri.AbstractTurnout for SRCP layouts

    • Constructor Detail

      • SRCPTurnout

        public SRCPTurnout​(int number,
                           SRCPBusConnectionMemo memo)
        SRCP turnouts use the NMRA number (0-511) as their numerical identification.
        number - the turnout number
        memo - the associated connection