Class EasyDccTurnout

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

public class EasyDccTurnout extends AbstractTurnout
EasyDCC implementation of the Turnout interface.

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

    • EasyDccTurnout

      public EasyDccTurnout(String prefix, int number, EasyDccSystemConnectionMemo memo)
      Create a turnout.

      EasyDCC turnouts use the NMRA number (0-2044) as their numerical identification.

      Parameters:
      prefix - system connection prefix
      number - the NMRA turnout number from 0 to 2044
      memo - system connection
  • Method Details