Package jmri.jmrit.ussctc
Interface Section<To extends java.lang.Enum<To>,From extends java.lang.Enum<From>>
-
- Type Parameters:
To- communications from field to central.From- communications from central to field.
- All Superinterfaces:
CentralSection<To,From>,FieldSection<To,From>
- All Known Implementing Classes:
MaintainerCallSection,SignalHeadSection,TrackCircuitSection,TurnoutSection
public interface Section<To extends java.lang.Enum<To>,From extends java.lang.Enum<From>> extends CentralSection<To,From>, FieldSection<To,From>
A Section is the base type for the pieces that make up and are referenced by aStation. It combines aCentralSectionand aFieldSectioninto one for convenience and consistency.The type argument defines the communications from central to field and from field to central
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Name of this Section.Station<To,From>getStation()-
Methods inherited from interface jmri.jmrit.ussctc.CentralSection
codeSendStart, indicationComplete
-
Methods inherited from interface jmri.jmrit.ussctc.FieldSection
codeValueDelivered, indicationStart
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Name of this Section. Does not include name of associated Station.- Returns:
- section name without station.
-
getStation
Station<To,From> getStation()
-
-