|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.zimo.Mx1CommandStation
public class Mx1CommandStation
Defines standard operations for Dcc command stations.
| Constructor Summary | |
|---|---|
Mx1CommandStation()
|
|
| Method Summary | |
|---|---|
int |
bcdToAsc(int hex)
|
boolean |
getHasServiceMode()
Zimo does use a service mode |
boolean |
getInServiceMode()
If this command station has a service mode, is the command station currently in that mode? |
Mx1Message |
getReadPagedCVMsg(int cv)
|
Mx1Message |
getTurnoutCommandMsg(int pNumber,
boolean pClose,
boolean pThrow,
boolean pOn)
Generate a message to change turnout state |
int |
getTurnoutMsgAddr(Mx1Message pMsg)
If this is a turnout-type message, return address. |
String |
getVersionString()
Provides the version string returned during the initial check. |
Mx1Message |
getWritePagedCVMsg(int cv,
int val)
|
boolean |
isTurnoutCommand(Mx1Message pMsg)
Is this a command to change turnout state? |
Mx1Message |
resetModeMsg()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Mx1CommandStation()
| Method Detail |
|---|
public boolean getHasServiceMode()
getHasServiceMode in interface DccCommandStationpublic boolean getInServiceMode()
getInServiceMode in interface DccCommandStationpublic String getVersionString()
getVersionString in interface DccCommandStation
public Mx1Message getTurnoutCommandMsg(int pNumber,
boolean pClose,
boolean pThrow,
boolean pOn)
public int getTurnoutMsgAddr(Mx1Message pMsg)
public boolean isTurnoutCommand(Mx1Message pMsg)
public Mx1Message resetModeMsg()
public Mx1Message getReadPagedCVMsg(int cv)
public Mx1Message getWritePagedCVMsg(int cv,
int val)
public int bcdToAsc(int hex)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||