Skip to content
Permalink
Browse files

use new loconet message toMonitorString

  • Loading branch information...
pabender committed Sep 21, 2018
1 parent f40bd29 commit 0cba35cd4efe746f4e838b8b70db403d30b19d74
Showing with 2 additions and 2 deletions.
  1. +1 −1 java/src/jmri/jmrix/roco/z21/Z21Message.java
  2. +1 −1 java/src/jmri/jmrix/roco/z21/Z21Reply.java
@@ -254,7 +254,7 @@ public String toMonitorString() {
case 0x0040:
return Bundle.getMessage("Z21MessageXpressNetTunnelRequest",new Z21XNetMessage(this).toMonitorString());
case 0x00A2:
return Bundle.getMessage("Z21LocoNetLanMessage", new jmri.jmrix.loconet.locomon.Llnmon().displayMessage(getLocoNetMessage()));
return Bundle.getMessage("Z21LocoNetLanMessage", getLocoNetMessage().toMonitorString());
case 0x0089:
return Bundle.getMessage("Z21_RAILCOM_GETDATA");
default:
@@ -98,7 +98,7 @@ public String toMonitorString() {
case 0x0040:
return Bundle.getMessage("Z21XpressNetTunnelReply", getXNetReply().toMonitorString());
case 0x00A0:
return Bundle.getMessage("Z21LocoNetRxReply", new jmri.jmrix.loconet.locomon.Llnmon().displayMessage(getLocoNetMessage()));
return Bundle.getMessage("Z21LocoNetRxReply", getLocoNetMessage().toMonitorString());
case 0x00A1:
return Bundle.getMessage("Z21LocoNetTxReply", new jmri.jmrix.loconet.locomon.Llnmon().displayMessage(getLocoNetMessage()));
case 0x00A2:

0 comments on commit 0cba35c

Please sign in to comment.
You can’t perform that action at this time.