Enum EMachineStatesL2
- java.lang.Object
-
- java.lang.Enum<EMachineStatesL2>
-
- de.desy.mst.libs.framework.mstapp.util.machinestates.EMachineStatesL2
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EMachineStatesL2>
public enum EMachineStatesL2 extends java.lang.Enum<EMachineStatesL2>
Defines the machine states- Author:
- R.Bacher
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
int
stateAsNumber()
java.lang.String
stateAsText()
java.lang.String
stateAsTextEngl()
static EMachineStatesL2
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EMachineStatesL2[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINAC_BETRIEB_GUN
public static final EMachineStatesL2 LINAC_BETRIEB_GUN
-
LINAC_BETRIEB_PIA
public static final EMachineStatesL2 LINAC_BETRIEB_PIA
-
LINAC_BETRIEB_TEST
public static final EMachineStatesL2 LINAC_BETRIEB_TEST
-
LINAC_BETRIEB_PETRA
public static final EMachineStatesL2 LINAC_BETRIEB_PETRA
-
LINAC_BETRIEB_DORIS
public static final EMachineStatesL2 LINAC_BETRIEB_DORIS
-
LINAC_BETRIEB_TESTSTRAHL
public static final EMachineStatesL2 LINAC_BETRIEB_TESTSTRAHL
-
LINAC_BETRIEB_KONTROLLRAUM
public static final EMachineStatesL2 LINAC_BETRIEB_KONTROLLRAUM
-
LINAC_VORBEREITEN_BETRIEB
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB
-
LINAC_VORBEREITEN_BETRIEB_GUN
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_GUN
-
LINAC_VORBEREITEN_BETRIEB_PIA
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_PIA
-
LINAC_VORBEREITEN_BETRIEB_TEST
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_TEST
-
LINAC_VORBEREITEN_BETRIEB_PETRA
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_PETRA
-
LINAC_VORBEREITEN_BETRIEB_DORIS
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_DORIS
-
LINAC_VORBEREITEN_BETRIEB_TESTSTRAHL
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_TESTSTRAHL
-
LINAC_VORBEREITEN_BETRIEB_KONTROLLRAUM
public static final EMachineStatesL2 LINAC_VORBEREITEN_BETRIEB_KONTROLLRAUM
-
LINAC_BEREIT
public static final EMachineStatesL2 LINAC_BEREIT
-
LINAC_WARTUNG
public static final EMachineStatesL2 LINAC_WARTUNG
-
LINAC_FEHLER
public static final EMachineStatesL2 LINAC_FEHLER
-
LINAC_KEINE_STRAHLFREIGABE
public static final EMachineStatesL2 LINAC_KEINE_STRAHLFREIGABE
-
LINAC_KEIN_STRAHL
public static final EMachineStatesL2 LINAC_KEIN_STRAHL
-
LINAC_STUDIEN
public static final EMachineStatesL2 LINAC_STUDIEN
-
LINAC_UNBESTIMMT
public static final EMachineStatesL2 LINAC_UNBESTIMMT
-
-
Method Detail
-
values
public static EMachineStatesL2[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EMachineStatesL2 c : EMachineStatesL2.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMachineStatesL2 valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
stateAsNumber
public int stateAsNumber()
-
stateAsText
public java.lang.String stateAsText()
-
stateAsTextEngl
public java.lang.String stateAsTextEngl()
-
main
public static void main(java.lang.String[] args)
-
-