Package jmri.jmrix.powerline.simulator
Class Constants
- java.lang.Object
-
- jmri.jmrix.powerline.simulator.Constants
-
public class Constants extends java.lang.Object
Constants and functions specific to the Insteon 2412S interface.
-
-
Field Summary
Fields Modifier and Type Field Description static int
BUTTON_BITS_ID
static int
BUTTON_BITS_OP
static int
BUTTON_HELD
static int
BUTTON_REL
static int
BUTTON_TAP
static int
CMD_LIGHT_CHG
static int
CMD_LIGHT_OFF_FAST
static int
CMD_LIGHT_OFF_RAMP
static int
CMD_LIGHT_ON_FAST
static int
CMD_LIGHT_ON_RAMP
static int
FLAG_BIT_STDEXT
static int
FLAG_BIT_X10_CMDUNIT
static int
FLAG_EXT
static int
FLAG_STD
static int
FLAG_X10_RECV_CMD
static int
FLAG_X10_RECV_UNIT
static int
FUNCTION_REQ_STD
static int
FUNCTION_REQ_X10
static int
HEAD_STX
static int
POLL_REQ_BUTTON
static int
POLL_REQ_BUTTON_RESET
static int
POLL_REQ_EXT
static int
POLL_REQ_STD
static int
POLL_REQ_X10
static int
REPLY_ACK
static int
REPLY_NAK
-
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
-
HEAD_STX
public static final int HEAD_STX
- See Also:
- Constant Field Values
-
POLL_REQ_STD
public static final int POLL_REQ_STD
- See Also:
- Constant Field Values
-
POLL_REQ_EXT
public static final int POLL_REQ_EXT
- See Also:
- Constant Field Values
-
POLL_REQ_X10
public static final int POLL_REQ_X10
- See Also:
- Constant Field Values
-
POLL_REQ_BUTTON
public static final int POLL_REQ_BUTTON
- See Also:
- Constant Field Values
-
POLL_REQ_BUTTON_RESET
public static final int POLL_REQ_BUTTON_RESET
- See Also:
- Constant Field Values
-
FUNCTION_REQ_STD
public static final int FUNCTION_REQ_STD
- See Also:
- Constant Field Values
-
FUNCTION_REQ_X10
public static final int FUNCTION_REQ_X10
- See Also:
- Constant Field Values
-
CMD_LIGHT_ON_RAMP
public static final int CMD_LIGHT_ON_RAMP
- See Also:
- Constant Field Values
-
CMD_LIGHT_ON_FAST
public static final int CMD_LIGHT_ON_FAST
- See Also:
- Constant Field Values
-
CMD_LIGHT_OFF_RAMP
public static final int CMD_LIGHT_OFF_RAMP
- See Also:
- Constant Field Values
-
CMD_LIGHT_OFF_FAST
public static final int CMD_LIGHT_OFF_FAST
- See Also:
- Constant Field Values
-
CMD_LIGHT_CHG
public static final int CMD_LIGHT_CHG
- See Also:
- Constant Field Values
-
BUTTON_TAP
public static final int BUTTON_TAP
- See Also:
- Constant Field Values
-
BUTTON_HELD
public static final int BUTTON_HELD
- See Also:
- Constant Field Values
-
BUTTON_REL
public static final int BUTTON_REL
- See Also:
- Constant Field Values
-
BUTTON_BITS_ID
public static final int BUTTON_BITS_ID
- See Also:
- Constant Field Values
-
BUTTON_BITS_OP
public static final int BUTTON_BITS_OP
- See Also:
- Constant Field Values
-
REPLY_ACK
public static final int REPLY_ACK
- See Also:
- Constant Field Values
-
REPLY_NAK
public static final int REPLY_NAK
- See Also:
- Constant Field Values
-
FLAG_BIT_STDEXT
public static final int FLAG_BIT_STDEXT
- See Also:
- Constant Field Values
-
FLAG_STD
public static final int FLAG_STD
- See Also:
- Constant Field Values
-
FLAG_EXT
public static final int FLAG_EXT
- See Also:
- Constant Field Values
-
FLAG_BIT_X10_CMDUNIT
public static final int FLAG_BIT_X10_CMDUNIT
- See Also:
- Constant Field Values
-
FLAG_X10_RECV_CMD
public static final int FLAG_X10_RECV_CMD
- See Also:
- Constant Field Values
-
FLAG_X10_RECV_UNIT
public static final int FLAG_X10_RECV_UNIT
- 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
- value for header- Returns:
- formated string for type of header
-
-