Class SRCPTurnout

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

    • SRCPTurnout

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