jmri.jmrix.easydcc
Class EasyDccMessage
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRMessage
jmri.jmrix.easydcc.EasyDccMessage
- All Implemented Interfaces:
- Message
public class EasyDccMessage
- extends AbstractMRMessage
Encodes a message to an EasyDCC command station. The EasyDccReply
class handles the response from the command station.
The EasyDccReply
class handles the response from the command station.
|
Field Summary |
(package private) static org.slf4j.Logger |
log
|
protected static int |
LONG_TIMEOUT
|
| Methods inherited from class jmri.jmrix.AbstractMRMessage |
addIntAsFourHex, addIntAsThree, addIntAsThreeHex, addIntAsTwoHex, getNeededMode, getOpCode, getOpCodeHex, getRetries, getTimeout, isBinary, replyExpected, setBinary, setNeededMode, setOpCode, setRetries, setTimeout, toString |
LONG_TIMEOUT
protected static final int LONG_TIMEOUT
- See Also:
- Constant Field Values
log
static org.slf4j.Logger log
EasyDccMessage
public EasyDccMessage()
EasyDccMessage
public EasyDccMessage(int i)
EasyDccMessage
public EasyDccMessage(EasyDccMessage m)
EasyDccMessage
public EasyDccMessage(String m)
isKillMain
public boolean isKillMain()
isEnableMain
public boolean isEnableMain()
getEnableMain
public static EasyDccMessage getEnableMain()
getKillMain
public static EasyDccMessage getKillMain()
getAddConsistNormal
public static EasyDccMessage getAddConsistNormal(int ConsistAddress,
DccLocoAddress LocoAddress)
getAddConsistReverse
public static EasyDccMessage getAddConsistReverse(int ConsistAddress,
DccLocoAddress LocoAddress)
getSubtractConsist
public static EasyDccMessage getSubtractConsist(int ConsistAddress,
DccLocoAddress LocoAddress)
getKillConsist
public static EasyDccMessage getKillConsist(int ConsistAddress)
getDisplayConsist
public static EasyDccMessage getDisplayConsist(int ConsistAddress)
getProgMode
public static EasyDccMessage getProgMode()
getExitProgMode
public static EasyDccMessage getExitProgMode()
getReadPagedCV
public static EasyDccMessage getReadPagedCV(int cv)
getWritePagedCV
public static EasyDccMessage getWritePagedCV(int cv,
int val)
getReadRegister
public static EasyDccMessage getReadRegister(int reg)
getWriteRegister
public static EasyDccMessage getWriteRegister(int reg,
int val)
Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: