Class AttBcSimDeReaktion
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
-
- de.bsvrz.sys.funclib.bitctrl.modell.bitctrlsimulation.attribute.AttBcSimDeReaktion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>>
public class AttBcSimDeReaktion extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
Definiert die möglichen Reaktionen einer DE auf einen Stellbefehl.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AttBcSimDeReaktion
ZUSTAND_0_OK
static AttBcSimDeReaktion
ZUSTAND_1_VERZOEGERT
static AttBcSimDeReaktion
ZUSTAND_1N_UNBEKANNT
static AttBcSimDeReaktion
ZUSTAND_2_TIMEOUT
static AttBcSimDeReaktion
ZUSTAND_3_NEGATIVE_QUITTUNG
static AttBcSimDeReaktion
ZUSTAND_4_DE_FEHLER
-
Constructor Summary
Constructors Constructor Description AttBcSimDeReaktion(java.lang.Byte value)
Erzeugte eine neues Attribut BitCtrl Simulations-Reaktion einer DE.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttBcSimDeReaktion>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttBcSimDeReaktion
getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttBcSimDeReaktion
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
ZUSTAND_1N_UNBEKANNT
public static final AttBcSimDeReaktion ZUSTAND_1N_UNBEKANNT
-
ZUSTAND_0_OK
public static final AttBcSimDeReaktion ZUSTAND_0_OK
-
ZUSTAND_1_VERZOEGERT
public static final AttBcSimDeReaktion ZUSTAND_1_VERZOEGERT
-
ZUSTAND_2_TIMEOUT
public static final AttBcSimDeReaktion ZUSTAND_2_TIMEOUT
-
ZUSTAND_3_NEGATIVE_QUITTUNG
public static final AttBcSimDeReaktion ZUSTAND_3_NEGATIVE_QUITTUNG
-
ZUSTAND_4_DE_FEHLER
public static final AttBcSimDeReaktion ZUSTAND_4_DE_FEHLER
-
-
Method Detail
-
getZustand
public static AttBcSimDeReaktion getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.- Parameters:
value
- ein Zahlenwert- Returns:
- der Zustand zu dem Zahlenwert oder
null
, wenn die Zahl keine Entsprechnung als Zustand besitzt.
-
getZustand
public static AttBcSimDeReaktion getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.- Parameters:
value
- der Zustandsname- Returns:
- der Zustand zu dem Zustandsnamen oder
null
, wenn kein Zustand einen solchen Namen hat.
-
getZustaende
public static java.util.List<AttBcSimDeReaktion> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-