public static enum TimingCenter.BEAM_MODE extends java.lang.Enum<TimingCenter.BEAM_MODE>
Enum Constant and Description |
---|
FULLPWR
We are at full throttle - the beam can be all long as other systems allow
|
MCRSEC_10
The largest possible beam macro-pulse is 10 microseconds long
|
MCRSEC_100
The largest possible beam macro-pulse is 100 microseconds long
|
MCRSEC_50
The largest possible beam macro-pulse is 50 microseconds long
|
MILSEC_1
The largest possible beam macro-pulse is 1 milliseconds long
|
MPSTEST
We are testing the Machine Protection System
|
OFF
The beam is off (no beam mode)
|
UNKNOWN
Error! The beam mode is in a condition of unknown state.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPvValue()
Returns the string value of the enumeration constant.
|
boolean |
isPvValue(java.lang.String strPvVal)
Check whether or not the given string is lexically equivalent
to the PV value represented by this enumeration constant
|
static TimingCenter.BEAM_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimingCenter.BEAM_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimingCenter.BEAM_MODE UNKNOWN
public static final TimingCenter.BEAM_MODE OFF
public static final TimingCenter.BEAM_MODE MPSTEST
public static final TimingCenter.BEAM_MODE MCRSEC_10
public static final TimingCenter.BEAM_MODE MCRSEC_50
public static final TimingCenter.BEAM_MODE MCRSEC_100
public static final TimingCenter.BEAM_MODE MILSEC_1
public static final TimingCenter.BEAM_MODE FULLPWR
public static TimingCenter.BEAM_MODE[] values()
for (TimingCenter.BEAM_MODE c : TimingCenter.BEAM_MODE.values()) System.out.println(c);
public static TimingCenter.BEAM_MODE 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 java.lang.String getPvValue()
public boolean isPvValue(java.lang.String strPvVal)
strPvVal
- true
if the given string is this beam mode value,
false
otherwise