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
    Extend jmri.AbstractTurnout for Oak Tree serial layouts. This object doesn't listen to the Oak Tree serial 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.
    • Constructor Detail

      • SerialTurnout

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

        'systemName' was previously validated in SerialTurnoutManager

        Parameters:
        systemName - turnout system name
        userName - turnout user name
        memo - system connection