jmri.jmrix.powerline.simulator
Class Constants

java.lang.Object
  extended by jmri.jmrix.powerline.simulator.Constants

public class Constants
extends Object

Constants and functions specific to the Insteon 2412S interface

Author:
Bob Jacobsen Copyright (C) 2008, 2009, Ken Cameron Copyright (C) 2010

Field Summary
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
Constants()
           
 
Method Summary
static String formatHeaderByte(int b)
          Pretty-print a header code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 String formatHeaderByte(int b)
Pretty-print a header code



Copyright © 1997 - 2011 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads