Class SerialTurnout

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

    public class SerialTurnout
    extends AbstractTurnout
    Turnout implementation for X10.

    This object doesn't listen to the serial communications. It should eventually, so it can track changes outside the program.

    Within JMRI, only one Turnout object should besending messages to a turnout address; more than one Turnout object pointing to a single device is not allowed. Extend jmri.AbstractTurnout for powerline serial layouts

    • Constructor Detail

      • SerialTurnout

        public SerialTurnout​(java.lang.String systemName,
                             SerialTrafficController tc,
                             java.lang.String userName)
        Create a Turnout object, with both system and user names.

        'systemName' was previously validated in SerialTurnoutManager

        systemName - system name
        tc - traffic controller
        userName - user name