Interface FieldSection<To extends Enum<To>,​From extends Enum<From>>

All Known Subinterfaces:
Section<To,​From>
All Known Implementing Classes:
MaintainerCallSection, SignalHeadSection, TrackCircuitSection, TurnoutSection, TurnoutSection.TurnoutFieldSection

public interface FieldSection<To extends Enum<To>,​From extends Enum<From>>
A Section is the base type for the pieces that make up and are referenced by a Station.

The type argument defines the communications from central to field and from field to central

  • Method Summary

    Modifier and Type Method Description
    void codeValueDelivered​(To value)
    Provide the transferred value to the field unit at the end of the code-send operation.
    From indicationStart()
    Inform field part of section that an indication operation (from field to machine) has started and obtain the value to be conveyed to the central CTC machine.
  • Method Details

    • codeValueDelivered

      void codeValueDelivered​(To value)
      Provide the transferred value to the field unit at the end of the code-send operation.
      Parameters:
      value - transfer value.
    • indicationStart

      Inform field part of section that an indication operation (from field to machine) has started and obtain the value to be conveyed to the central CTC machine.
      Returns:
      The value to be conveyed to the central CTC machine.