Package jmri.jmrit.roster
Class IdentifyLoco
java.lang.Object
jmri.jmrit.AbstractIdentify
jmri.jmrit.roster.IdentifyLoco
- All Implemented Interfaces:
EventListener,ProgListener
Interact with a programmer to identify the
RosterEntry for a loco on the programming track.
This is a class (instead of a Roster member
function) to simplify use of ProgListener callbacks. It is abstract as we
expect that local classes will define the message and done members.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intprotected intprotected intprotected booleanFields inherited from interface jmri.ProgListener
CommError, ConfirmFailed, FailedTimeout, NoAck, NoLocoDetected, NotImplemented, OK, ProgrammerBusy, ProgrammingShort, SequenceError, UnknownError, UserAborted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddone(int address) protected abstract voidprotected voidUpdate the status field (if any).booleantest1()booleantest2(int value) booleantest3(int value) booleantest4(int value) booleantest5(int value) booleantest6(int value) booleantest7(int value) booleantest8(int value) booleantest9(int value) Methods inherited from class jmri.jmrit.AbstractIdentify
error, identifyDone, isOptionalCv, isRunning, programmingOpReply, readCV, setOptionalCv, start, writeCV
-
Field Details
-
shortAddr
-
cv7val
-
cv8val
-
address
int address
-
-
Constructor Details
-
IdentifyLoco
-
-
Method Details
-
test1
- Specified by:
test1in classAbstractIdentify
-
test2
- Specified by:
test2in classAbstractIdentify
-
test3
- Specified by:
test3in classAbstractIdentify
-
test4
- Specified by:
test4in classAbstractIdentify
-
test5
- Specified by:
test5in classAbstractIdentify
-
test6
- Specified by:
test6in classAbstractIdentify
-
test7
- Specified by:
test7in classAbstractIdentify
-
test8
- Specified by:
test8in classAbstractIdentify
-
test9
- Specified by:
test9in classAbstractIdentify
-
statusUpdate
Description copied from class:AbstractIdentifyUpdate the status field (if any). Invoked with "Done" when the results are in.- Specified by:
statusUpdatein classAbstractIdentify- Parameters:
s- the new status
-
done
-
message
-