Package jmri.jmrix.nce.ncemon
Class NceMonBinary
java.lang.Object
jmri.jmrix.nce.ncemon.NceMonBinary
A utility class for formatting NCE binary command and replies into
human-readable text. The text for the display comes from NCE's Bincmds.txt
published November 2007 and is used with NCE's permission.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a command message for the log, in a human-friendly form if possible.Creates a reply message for the log, in a human-friendly form if possible.
-
Constructor Details
-
NceMonBinary
public NceMonBinary()
-
-
Method Details
-
displayMessage
Creates a command message for the log, in a human-friendly form if possible.- Parameters:
m- the raw command message- Returns:
- the displayable message string
-
displayReply
Creates a reply message for the log, in a human-friendly form if possible.- Parameters:
r- the raw reply message- Returns:
- the displayable message string
-