Class SprogTurnout

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

public class SprogTurnout extends AbstractTurnout
Sprog implementation of the Turnout interface.

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

    • SprogTurnout

      public SprogTurnout(int number, SprogSystemConnectionMemo memo)
      Create a SPROG Turnout object.

      Sprog turnouts use the NMRA number (0-511) as their numerical identification.

      Parameters:
      number - NMRA number
      memo - system connection
  • Method Details