Enum Constant and Description |
---|
MSG_BOOTED
Controller ist frisch gebootet.
|
MSG_CHECKSUM_ERROR
Prüfsummenfehler beim Flashen neuer Firmware.
|
MSG_CONFIG_BUFFER_FULL
Fehler, wenn nicht mehr Geräte konfiguriert werden können.
|
MSG_HARDWARE_MISMATCH
Die Firmware passt nicht zur Hardware.
|
MSG_ID_CHANGE_DISABLED
Die Controller-ID wurde nicht geändert, weil der ID-Taster nicht gedrückt wurde.
|
MSG_ID_NOT_CHANGED
Die Controller-ID wurde nicht geändert.
|
MSG_IGNORED
Kommando ignoriert.
|
MSG_INFO
Informationsantwort.
|
MSG_NO_UNITNO_DEFINED
Kommando gehörte zu unbekanntem Gerät.
|
MSG_NOT_CONFIGURED_YET
Controller ist noch nicht konfiguriert.
|
MSG_NOT_IN_CONFIG_MODE
Konfigurationskommando außerhalb vom Konfigmodus aufgerufen.
|
MSG_OK
Meldung OK.
|
MSG_PENDING
Kommando wartet schon auf Abarbeitung.
|
MSG_QUEUE_FULL
Auftragsstapel ist voll.
|
MSG_QUEUED
Kommando in Auftragsliste eingereiht.
|
MSG_RESET_PENDING
Der Controller wartet auf ausgelösten Reset.
|
MSG_SWITCH_FAILED
Schaltfehler bei Weiche mit Endabschaltung.
|
MSG_UNIT_NOT_FOUND
Kommando kann Gerätenummer nicht zuordnen.
|
MSG_UNITNO_MISSING
Kommando hat keine Gerätenummer.
|
MSG_UNITTYPE_WRONG
Das Kommando passt nicht zu einem Gerät.
|
MSG_UNKNOWN_CMD
Kommando unbekannt.
|
NO_RESULT
Dieser Wert ist nur ein Flag, dass eine Meldung nicht gesendet werden soll.
|
Modifier and Type | Method and Description |
---|---|
int |
getMsgCode()
Diese Methode gibt zum Rückmelde-Wert den Integer-Wert für die
MrwMessage wieder. |
static MsgCode |
getMsgCode(int code)
Diese Methode wandelt die Integer-Variante des Rückmelde-Codes aus einer
MrwMessage in eine Enum-Instanz um. |
static MsgCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MsgCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgCode NO_RESULT
public static final MsgCode MSG_OK
public static final MsgCode MSG_QUEUE_FULL
public static final MsgCode MSG_UNKNOWN_CMD
public static final MsgCode MSG_PENDING
public static final MsgCode MSG_IGNORED
public static final MsgCode MSG_QUEUED
public static final MsgCode MSG_NOT_CONFIGURED_YET
public static final MsgCode MSG_NO_UNITNO_DEFINED
public static final MsgCode MSG_UNITTYPE_WRONG
public static final MsgCode MSG_RESET_PENDING
public static final MsgCode MSG_UNITNO_MISSING
public static final MsgCode MSG_UNIT_NOT_FOUND
public static final MsgCode MSG_NOT_IN_CONFIG_MODE
public static final MsgCode MSG_BOOTED
public static final MsgCode MSG_ID_NOT_CHANGED
public static final MsgCode MSG_CHECKSUM_ERROR
public static final MsgCode MSG_INFO
public static final MsgCode MSG_ID_CHANGE_DISABLED
public static final MsgCode MSG_HARDWARE_MISMATCH
public static final MsgCode MSG_SWITCH_FAILED
public static final MsgCode MSG_CONFIG_BUFFER_FULL
public static MsgCode[] values()
for (MsgCode c : MsgCode.values()) System.out.println(c);
public static MsgCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getMsgCode()
MrwMessage
wieder.MrwMessage
.public static MsgCode getMsgCode(int code)
MrwMessage
in eine Enum-Instanz um.code
- Der Rückmelde-Wert als IntegerCodeNotFoundException
- Wenn zum Rückmelde-Code keine Enum-Instanz gefunden wurde.Copyright © 2011 all committers of this modelrailway project