|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.powerline.cp290.Constants
public class Constants
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 |
|---|
public static final int CMD_ON
public static final int CMD_OFF
public static final int CMD_DIM_R
public static final int CMD_DIM_S
| Constructor Detail |
|---|
public Constants()
| Method Detail |
|---|
public static String commandToText(int cmd,
int level)
public static String houseCodeToText(int hC)
public static String deviceToText(int hByte,
int lByte)
public static String statusToText(int s)
public static String toMonitorString(Message m)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||