This PR adds toString() methods to the TractionControlRequest and TractionControlReply messages. These tostring methods are used by the OpenLCB/LCC monitor log in JMRI. The decoding interprets the message command, subcommand and renders the arguments in text form.
Adds unit tests for untested parts of the traction messages, including creators and accessors.
Adds a few missing details from the TractionWM to the traction request/reply classes.
Misc supporting changes:
Fixes bugs in the Utilities.NetworkToHostUintXX methods.
Adds 24-bit Utilities.NetworkToHostUintXX method.
Adds a constructor to NodeID that takes a long argument.
Fixes missing rounding in the Float16 constructor (it was truncating to zero instead of rounding).
This PR adds toString() methods to the TractionControlRequest and TractionControlReply messages. These tostring methods are used by the OpenLCB/LCC monitor log in JMRI. The decoding interprets the message command, subcommand and renders the arguments in text form.
Adds unit tests for untested parts of the traction messages, including creators and accessors. Adds a few missing details from the TractionWM to the traction request/reply classes.
Misc supporting changes: