Class SprogCSTurnout

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

public class SprogCSTurnout 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

    • SprogCSTurnout

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

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

      Parameters:
      number - address for turnout
      memo - connection to get prefix from
  • Method Details