enum SimulationsStatus extends Enum<SimulationsStatus> implements de.bsvrz.sys.funclib.bitctrl.modell.Zustand<Integer>
Enum Constant and Description |
---|
GELOESCHT
Löschen der Simulation; führt dazu, dass das Simulationsobjekt gelöscht
wird und die Simulationsvariante von einer anderen Simulation benutzt
werden kann.
|
NEU
ein neues Simulationsobjekt wurde angelegt.
|
PAUSE
Pause.
|
START
Start der Simulation; ist erst möglich, wenn der Vorstart erfolgreich
war.
|
STOP
Stop der Simulation.
|
UNDEFINIERT
der Zustand ist nicht definiert, d.h. es wurden keine Daten zu der
entsprechenden Attributgruppe gefunden.
|
VORSTART
Vor dem eigentlichen Start einer Simulation.
|
Modifier and Type | Field and Description |
---|---|
private int |
code
der dem Zustand zugeordnete Code.
|
private String |
name
der dem Zustand zugeordnete Name.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode() |
String |
getName() |
(package private) static SimulationsStatus |
getStatus(int code)
liefert den durch den übergebenen Code beschriebenen Zustand.
|
static SimulationsStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimulationsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimulationsStatus UNDEFINIERT
public static final SimulationsStatus NEU
public static final SimulationsStatus VORSTART
public static final SimulationsStatus START
public static final SimulationsStatus STOP
public static final SimulationsStatus GELOESCHT
public static final SimulationsStatus PAUSE
private int code
private String name
public static SimulationsStatus[] values()
for (SimulationsStatus c : SimulationsStatus.values()) System.out.println(c);
public static SimulationsStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullstatic SimulationsStatus getStatus(int code)
code
- der Code des gesuchten Zustandespublic Integer getCode()
getCode
in interface de.bsvrz.sys.funclib.bitctrl.modell.Zustand<Integer>
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.