Package jmri.jmrix.powerline.cm11
Class Constants
- java.lang.Object
-
- jmri.jmrix.powerline.cm11.Constants
-
public class Constants extends java.lang.Object
Constants and functions specific to the CM11 interface.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHECKSUM_OK
static int
EXT_CMD_HEADER
static int
FILTER_FAIL
static int
MACRO_INITIATED
static int
MACRO_LOAD
static int
POLL_ACK
static int
POLL_REQ
static int
READY_REQ
static int
TIME_REQ_CP10
static int
TIME_REQ_CP11
static int
TIMER_DOWNLOAD
-
Constructor Summary
Constructors Constructor Description Constants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatHeaderByte(int b)
Pretty-print a header code.
-
-
-
Field Detail
-
POLL_REQ
public static final int POLL_REQ
- See Also:
- Constant Field Values
-
TIME_REQ_CP11
public static final int TIME_REQ_CP11
- See Also:
- Constant Field Values
-
TIME_REQ_CP10
public static final int TIME_REQ_CP10
- See Also:
- Constant Field Values
-
MACRO_INITIATED
public static final int MACRO_INITIATED
- See Also:
- Constant Field Values
-
MACRO_LOAD
public static final int MACRO_LOAD
- See Also:
- Constant Field Values
-
CHECKSUM_OK
public static final int CHECKSUM_OK
- See Also:
- Constant Field Values
-
READY_REQ
public static final int READY_REQ
- See Also:
- Constant Field Values
-
FILTER_FAIL
public static final int FILTER_FAIL
- See Also:
- Constant Field Values
-
EXT_CMD_HEADER
public static final int EXT_CMD_HEADER
- See Also:
- Constant Field Values
-
POLL_ACK
public static final int POLL_ACK
- See Also:
- Constant Field Values
-
TIMER_DOWNLOAD
public static final int TIMER_DOWNLOAD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Constants
public Constants()
-
-
Method Detail
-
formatHeaderByte
public static java.lang.String formatHeaderByte(int b)
Pretty-print a header code.- Parameters:
b
- header byte- Returns:
- formated as text of header byte
-
-