Class SerialTurnout

All Implemented Interfaces:
PropertyChangeListener, Comparable<NamedBean>, 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

  • Field Details

  • Constructor Details

    • SerialTurnout

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

      'systemName' was previously validated in SerialTurnoutManager

      Parameters:
      systemName - system name
      tc - traffic controller
      userName - user name
  • Method Details