Class AttSimulationsZustand
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
-
- de.bsvrz.sys.funclib.bitctrl.modell.tmvewsimulationglobal.attribute.AttSimulationsZustand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>>
public class AttSimulationsZustand extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
Zustand eines Simulationsobjektes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AttSimulationsZustand
ZUSTAND_0_NEU
Ein neues Simulationsobjekt wurde angelegt.static AttSimulationsZustand
ZUSTAND_1_VORSTART
Vor dem eigentlichen Start einer Simulation.static AttSimulationsZustand
ZUSTAND_2_START
Start der Simulation; ist erst möglich, wenn der Vorstart erfolgreich war.static AttSimulationsZustand
ZUSTAND_3_STOP
Stop der Simulation.static AttSimulationsZustand
ZUSTAND_4_GELOESCHT
Löschen der Simulation; führt dazu, dass das Simulationsobjekt gelöscht wird und die Simulationsvariante von einer anderen Simulation benutzt werden kann.static AttSimulationsZustand
ZUSTAND_5_PAUSE
Anhalten der Simulation; nur bei der Offlinesimulation möglich.static AttSimulationsZustand
ZUSTAND_6_EINZELSCHRITT
Befehl um in der Simulation um einen Schritt fortzuschreiten.
-
Constructor Summary
Constructors Constructor Description AttSimulationsZustand(java.lang.Byte value)
Erzeugte eine neues Attribut SimulationsZustand.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttSimulationsZustand>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttSimulationsZustand
getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttSimulationsZustand
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
ZUSTAND_0_NEU
public static final AttSimulationsZustand ZUSTAND_0_NEU
Ein neues Simulationsobjekt wurde angelegt.
-
ZUSTAND_1_VORSTART
public static final AttSimulationsZustand ZUSTAND_1_VORSTART
Vor dem eigentlichen Start einer Simulation.
-
ZUSTAND_2_START
public static final AttSimulationsZustand ZUSTAND_2_START
Start der Simulation; ist erst möglich, wenn der Vorstart erfolgreich war.
-
ZUSTAND_3_STOP
public static final AttSimulationsZustand ZUSTAND_3_STOP
Stop der Simulation.
-
ZUSTAND_4_GELOESCHT
public static final AttSimulationsZustand ZUSTAND_4_GELOESCHT
Löschen der Simulation; führt dazu, dass das Simulationsobjekt gelöscht wird und die Simulationsvariante von einer anderen Simulation benutzt werden kann.
-
ZUSTAND_5_PAUSE
public static final AttSimulationsZustand ZUSTAND_5_PAUSE
Anhalten der Simulation; nur bei der Offlinesimulation möglich.
-
ZUSTAND_6_EINZELSCHRITT
public static final AttSimulationsZustand ZUSTAND_6_EINZELSCHRITT
Befehl um in der Simulation um einen Schritt fortzuschreiten.Der Simulationsdatengenerator speist die Datensätze des nächst folgenden durch den Archivzeitstempel vorgegebenen Zeitpunkt ein.
-
-
Method Detail
-
getZustand
public static AttSimulationsZustand 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 AttSimulationsZustand 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<AttSimulationsZustand> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-