Class SerialTurnout

All Implemented Interfaces:
PropertyChangeListener, Comparable<NamedBean>, EventListener, PropertyChangeProvider, DigitalIO, NamedBean, Turnout, VariableControlSpanBean

public class SerialTurnout extends AbstractTurnout
Extend jmri.AbstractTurnout for TMCC serial layouts.

This object doesn't listen to the TMCC 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.

  • Field Details

  • Constructor Details

    • SerialTurnout

      public SerialTurnout(String prefix, int number, TmccSystemConnectionMemo memo)
      Create a turnout. TMCC turnouts use the number 1-99 as their numerical identification. The TMCC SC-2 reserves 0 as a special reset address, but the TMCC SC-1 allows 0 to be a turnout; however, the SC-1 documentation examples and callouts all use 1 as the first turnout address.
      Parameters:
      prefix - the connection prefix
      number - the TMCC turnout number from 1 to 99
      memo - the connection memo
  • Method Details