Class Station


public class Station
extends Object
A Station represents a specific codeline field station. It defines the bits in the code message and holds references to the hardware at both ends that is controlled by those bits. For example: The basic structure is to mate two objects that interact via a shared enum. Alternately, this can be a single object: e.g. a TurnoutSection that functions in both the central CTC machine and field hardware roles.
  • The field object listens to the status of the layout and sends indications on changes.

    The central (CTC machine) object responds to those indications.

  • The central (CTC machine) object sends when Code is pressed.

    The field object responds to those when received.