Class DccSignalHead

All Implemented Interfaces:
VetoableChangeListener, Comparable<NamedBean>, EventListener, PropertyChangeProvider, NamedBean, Signal, SignalHead

public class DccSignalHead
extends AbstractSignalHead
This class implements a SignalHead that maps the various appearances values to aspect values in the Extended Accessory Decoder Control Packet Format and outputs that packet to the DCC System via the generic CommandStation interface

The mapping is as follows:

0 = RED
1 = YELLOW
2 = GREEN
3 = LUNAR
4 = FLASHRED
5 = FLASHYELLOW
6 = FLASHGREEN
7 = FLASHLUNAR
8 = DARK

The FLASH appearances are expected to be implemented in the decoder.