Package jmri.jmrit.ussctc
Class TurnoutSection.TurnoutFieldSection
java.lang.Object
jmri.jmrit.ussctc.TurnoutSection.TurnoutFieldSection
- All Implemented Interfaces:
FieldSection<CodeGroupTwoBits,CodeGroupTwoBits>
- Enclosing class:
- TurnoutSection
class TurnoutSection.TurnoutFieldSection
extends Object
implements FieldSection<CodeGroupTwoBits,CodeGroupTwoBits>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) NamedBeanHandle<Turnout>(package private) CodeGroupTwoBitsDefines intended (commanded by central) field for this state.(package private) CodeGroupTwoBitsLast indication actually sent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidNotification that code has arrived in the field.Provide state that's returned from field to machine via indication.(package private) voidInitially, align with what's in the field(package private) void(package private) voidlogLocked(CodeGroupTwoBits value)
-
Field Details
-
lastCodeValue
Defines intended (commanded by central) field for this state. -
lastIndicationValue
Last indication actually sent -
hLayoutTO
-
locks
-
-
Constructor Details
-
TurnoutFieldSection
-
-
Method Details
-
addLocks
-
initializeState
Initially, align with what's in the field- Parameters:
to- Turnout in field to align to
-
codeValueDelivered
Notification that code has arrived in the field. Sets the turnout on the layout.- Specified by:
codeValueDeliveredin interfaceFieldSection<CodeGroupTwoBits,CodeGroupTwoBits> - Parameters:
value- transfer value.
-
logLocked
-
indicationStart
Provide state that's returned from field to machine via indication.- Specified by:
indicationStartin interfaceFieldSection<CodeGroupTwoBits,CodeGroupTwoBits> - Returns:
- The value to be conveyed to the central CTC machine.
-
getCurrentIndication
-
layoutTurnoutChanged
-