Package jmri.jmrit.ussctc
Class CodeLine
java.lang.Object
jmri.jmrit.ussctc.CodeLine
Drive the code line communications on a USS CTC panel.
Primary interactions are with a group of Station objects
that make up the panel. Can also work with external
hardware via Turnout/Sensor interfaces.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanstatic int(package private) final NamedBeanHandle<Turnout>(package private) final NamedBeanHandle<Turnout>(package private) final NamedBeanHandle<Turnout>(package private) final NamedBeanHandle<Turnout>(package private) final NamedBeanHandle<Turnout>(package private) final NamedBeanHandle<Turnout>static int(package private) final Memorystatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) voidrequestIndicationStart(Station<?, ?> station) Request processing of an indication from the field.(package private) voidrequestSendCode(Station<?, ?> station) Request processing of an indication from the field(package private) void(package private) voidstartSendCode(Station<?, ?> station) (package private) void(package private) voidstartSendIndication(Station<?, ?> station) toString()
-
Field Details
-
logMemory
-
hStartIndicateTO
-
hStartSendTO
-
hOutput1TO
-
hOutput2TO
-
hOutput3TO
-
hOutput4TO
-
START_PULSE_LENGTH
-
CODE_SEND_DELAY
-
INTER_INDICATION_DELAY
-
codeQueue
-
indicationQueue
-
active
-
-
Constructor Details
-
CodeLine
public CodeLine(String startIndicateTO, String startSendTO, String output1TO, String output2TO, String output3TO, String output4TO) Create and configure- Parameters:
startIndicateTO- Name for turnout that starts indication operations on the layoutstartSendTO- Name for turnout that starts send operations on the layoutoutput1TO- Turnout name for 1st channel of code informationoutput2TO- Turnout name for 2nd channel of code informationoutput3TO- Turnout name for 3rd channel of code informationoutput4TO- Turnout name for 4th channel of code information
-
-
Method Details
-
endAndCheckNext
void endAndCheckNext() -
checkForWork
void checkForWork() -
requestSendCode
Request processing of an indication from the field- Parameters:
station- Station being addressed.
-
startSendCode
-
startSendExternalCodeLine
void startSendExternalCodeLine() -
toString
-
requestIndicationStart
Request processing of an indication from the field.- Parameters:
station- Station being addressed.
-
startSendIndication
-
startIndicationExternalCodeLine
-