Package jmri.jmrit.ussctc
Class CodeLine
- java.lang.Object
-
- jmri.jmrit.ussctc.CodeLine
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
active
static int
CODE_SEND_DELAY
(package private) java.util.Deque<Station<?,?>>
codeQueue
(package private) NamedBeanHandle<Turnout>
hOutput1TO
(package private) NamedBeanHandle<Turnout>
hOutput2TO
(package private) NamedBeanHandle<Turnout>
hOutput3TO
(package private) NamedBeanHandle<Turnout>
hOutput4TO
(package private) NamedBeanHandle<Turnout>
hStartIndicateTO
(package private) NamedBeanHandle<Turnout>
hStartSendTO
(package private) java.util.Deque<Station<?,?>>
indicationQueue
static int
INTER_INDICATION_DELAY
(package private) Memory
logMemory
static int
START_PULSE_LENGTH
-
Constructor Summary
Constructors Constructor Description CodeLine(java.lang.String startIndicateTO, java.lang.String startSendTO, java.lang.String output1TO, java.lang.String output2TO, java.lang.String output3TO, java.lang.String output4TO)
Create and configure
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
checkForWork()
(package private) void
endAndCheckNext()
(package private) void
requestIndicationStart(Station<?,?> station)
Request processing of an indication from the field.(package private) void
requestSendCode(Station<?,?> station)
Request processing of an indication from the field(package private) void
startIndicationExternalCodeLine()
(package private) void
startSendCode(Station<?,?> station)
(package private) void
startSendExternalCodeLine()
(package private) void
startSendIndication(Station<?,?> station)
java.lang.String
toString()
-
-
-
Field Detail
-
hStartIndicateTO
final NamedBeanHandle<Turnout> hStartIndicateTO
-
hStartSendTO
final NamedBeanHandle<Turnout> hStartSendTO
-
hOutput1TO
final NamedBeanHandle<Turnout> hOutput1TO
-
hOutput2TO
final NamedBeanHandle<Turnout> hOutput2TO
-
hOutput3TO
final NamedBeanHandle<Turnout> hOutput3TO
-
hOutput4TO
final NamedBeanHandle<Turnout> hOutput4TO
-
START_PULSE_LENGTH
public static int START_PULSE_LENGTH
-
CODE_SEND_DELAY
public static int CODE_SEND_DELAY
-
INTER_INDICATION_DELAY
public static int INTER_INDICATION_DELAY
-
indicationQueue
volatile java.util.Deque<Station<?,?>> indicationQueue
-
active
volatile boolean active
-
-
Constructor Detail
-
CodeLine
public CodeLine(java.lang.String startIndicateTO, java.lang.String startSendTO, java.lang.String output1TO, java.lang.String output2TO, java.lang.String output3TO, java.lang.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 Detail
-
endAndCheckNext
void endAndCheckNext()
-
checkForWork
void checkForWork()
-
requestSendCode
void requestSendCode(Station<?,?> station)
Request processing of an indication from the field- Parameters:
station
- Station being addressed.
-
startSendCode
void startSendCode(Station<?,?> station)
-
startSendExternalCodeLine
void startSendExternalCodeLine()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
requestIndicationStart
void requestIndicationStart(Station<?,?> station)
Request processing of an indication from the field.- Parameters:
station
- Station being addressed.
-
startSendIndication
void startSendIndication(Station<?,?> station)
-
startIndicationExternalCodeLine
void startIndicationExternalCodeLine()
-
-