jmri.jmrix.powerline.cp290
Class Constants

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

public class Constants
extends Object

Constants and functions specific to the CP290 interface


Field Summary
static int CMD_DIM_R
           
static int CMD_DIM_S
           
static int CMD_OFF
           
static int CMD_ON
           
 
Constructor Summary
Constants()
           
 
Method Summary
static String commandToText(int cmd, int level)
          Translate Function to Text
static String deviceToText(int hByte, int lByte)
          Translate Device Bits to Text
static String houseCodeToText(int hC)
          Translate House Code to text
static String statusToText(int s)
          Translate status to text
static String toMonitorString(Message m)
          Format a message nicely
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD_ON

public static final int CMD_ON
See Also:
Constant Field Values

CMD_OFF

public static final int CMD_OFF
See Also:
Constant Field Values

CMD_DIM_R

public static final int CMD_DIM_R
See Also:
Constant Field Values

CMD_DIM_S

public static final int CMD_DIM_S
See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()
Method Detail

commandToText

public static String commandToText(int cmd,
                                   int level)
Translate Function to Text


houseCodeToText

public static String houseCodeToText(int hC)
Translate House Code to text


deviceToText

public static String deviceToText(int hByte,
                                  int lByte)
Translate Device Bits to Text


statusToText

public static String statusToText(int s)
Translate status to text


toMonitorString

public static String toMonitorString(Message m)
Format a message nicely



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