public enum ECavityElement extends java.lang.Enum<ECavityElement> implements IECavityElement
This is the standard cavity elements, which nearly every cavity application should include in their GUI interface. The following arguments can be selected in this enumeration:
Enumeration ECavityElement | Description |
---|---|
EINKOPPLER_TEMPERATURE | Einkoppler temperature (Grad). |
EINKOPPLER_DELTA_TEMPERATURE | Einkoppler temperature difference (Grad). |
CAVITY_VOLTAGE | Cavity voltage (volt). |
CAVITY_VOLTAGE_PHASE | Cavity voltage, phase (degree). |
PHASE_DIFFERENCE | Phase difference between U cavity - U pre voltage (degree). |
STAMP_1_WEGGEBER | Stamp 1 position (millimeters). |
STAMP_1_BOUND | Stamp 1 has reached its minimum or maximum position (bit value). In other words: has reached Fmin or Fmax. |
STAMP_1_FMIN | Stamp 1 has reached its minimal position (boolean value). In other words: has reached FMin. |
STAMP_1_FMAX | Stamp 1 has reached its maximum position (boolean value). In other words: has reached FMax. |
STAMP_2_WEGGEBER | Stamp 2 position (millimeters). |
STAMP_2_BOUND | Stamp 2 has reached its minimum or maximum position (bit value). In other words: has reached Fmin or Fmax. |
STAMP_2_FMIN | Stamp 2 has reached its minimal position (boolean value). In other words: has reached FMin. |
STAMP_2_FMAX | Stamp 2 has reached its maximum position (boolean value). In other words: has reached FMax. |
PRE_POWER | Pre power (watt). |
PRE_PHASE | Pre phase (degree). |
POST_POWER | Post power (watt). |
POST_PHASE | Post phase (degree). |
CELL_2_TEMPERATURE | Cell 2, temperature (celsius). |
CELL_2_VOLTAGE | Cell 2, voltage (volt). |
CELL_4_TEMPERATURE | Cell 4, temperature (celsius). |
CELL_4_VOLTAGE | Cell 4, voltage (volt). |
CELL_6_TEMPERATURE | Cell 6, temperature (celsius). |
CELL_6_VOLTAGE | Cell 2, voltage (volt). |
IEEnum.getName(EName)
) or sets (IEEnum.putName(EName,String)
)
on the EName
:
Enumeration EName | Description |
---|---|
EName.NAME | Name of the enumeration element without HTML styled tags. |
EName.NAME_CAVITY | A HTML styled enumeration element, here the cavity value. |
EName.NAME_TABLE | A HTML styled enumeration element, here the table value. |
EName.UNIT | Returns the unit. |
EName.PRECISION | A C-like styled precision string. See here for more information. |
Enum Constant and Description |
---|
CAVITY_VOLTAGE
Cavity voltage (volt).
|
CAVITY_VOLTAGE_PHASE
Cavity voltage, phase (degree).
|
CELL_2_TEMPERATURE
Cell 2, temperature (celsius).
|
CELL_2_VOLTAGE
Cell 2, voltage (volt).
|
CELL_4_TEMPERATURE |
CELL_4_VOLTAGE
Cell 4, voltage (volt).
|
CELL_6_TEMPERATURE
Cell 6, temperature (celsius).
|
CELL_6_VOLTAGE
Cell 6, voltage (volt).
|
EINKOPPLER_DELTA_TEMPERATURE
Temperature difference of EINKOPPLER.
|
EINKOPPLER_TEMPERATURE
Temperature EINKOPPLER.
|
PHASE_DIFFERENCE
Phase difference between U cavity - U pre voltage (degree).
|
POST_PHASE
Post phase (degree).
|
POST_POWER
Post power (watt).
|
PRE_PHASE
Pre phase (degree).
|
PRE_POWER
Pre power (watt).
|
PRESSURE
Pressure in the cavity (mbar).
|
PRESSURE_POST
Post pressure in the cavity (mbar).
|
PRESSURE_PRE
Pre pressure in the cavity (mbar).
|
STAMP_1_BOUND
Stamp 1 bound position, requests the
STAMP_1_WEGGEBER and the location of FMin or FMax. |
STAMP_1_FMAX
Stamp 1 has reached its maximum position (boolean value).
|
STAMP_1_FMIN
Stamp 1 has reached its minimal position (boolean value).
|
STAMP_1_WEGGEBER
Stamp position 1 (millimeters).
|
STAMP_2_BOUND
Stamp 2 bound position, requests the
STAMP_2_WEGGEBER and the location of FMin or FMax. |
STAMP_2_FMAX
Stamp 2 has reached its maximum position (boolean value).
|
STAMP_2_FMIN
Stamp 2 has reached its minimal position (boolean value).
|
STAMP_2_WEGGEBER
Stamp 2 position (millimeters).
|
STATE_FREQUENCY
Current cavity frequency state (fmin, fres, fmax).
|
TEMPERATURE
Temperature (celsius).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName(EName description_)
Returns according to the enumeration of the description the corresponding
string value.
|
boolean |
isAdjusting()
Returns a logical value if the data component is adjusting its parameter
just by dragging it around or not.
|
boolean |
isCDI()
Tells the caller if this data element is part of a CDI server or not.
|
boolean |
isFireEvent()
Normally all elements of these enumeration interface will fire an event
to modified it in the CDI server and therefore in the hardware and not
only on screen.
|
void |
putName(EName description_,
java.lang.String name_)
DON'T DELETE THIS CONTENT BECAUSE IT IS NEEDED BY SOME CALLS!
|
int |
size()
Returns the size of values each data component can get.
|
static ECavityElement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ECavityElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECavityElement EINKOPPLER_TEMPERATURE
public static final ECavityElement EINKOPPLER_DELTA_TEMPERATURE
public static final ECavityElement CAVITY_VOLTAGE
public static final ECavityElement CAVITY_VOLTAGE_PHASE
public static final ECavityElement PHASE_DIFFERENCE
public static final ECavityElement STAMP_1_WEGGEBER
public static final ECavityElement STAMP_1_FMIN
public static final ECavityElement STAMP_1_FMAX
public static final ECavityElement STAMP_1_BOUND
STAMP_1_WEGGEBER
and the location of FMin or FMax.public static final ECavityElement STAMP_2_WEGGEBER
public static final ECavityElement STAMP_2_FMIN
public static final ECavityElement STAMP_2_FMAX
public static final ECavityElement STAMP_2_BOUND
STAMP_2_WEGGEBER
and the location of FMin or FMax.public static final ECavityElement PRE_POWER
public static final ECavityElement PRE_PHASE
public static final ECavityElement POST_POWER
public static final ECavityElement POST_PHASE
public static final ECavityElement CELL_2_TEMPERATURE
public static final ECavityElement CELL_2_VOLTAGE
public static final ECavityElement CELL_4_TEMPERATURE
public static final ECavityElement CELL_4_VOLTAGE
public static final ECavityElement CELL_6_TEMPERATURE
public static final ECavityElement CELL_6_VOLTAGE
public static final ECavityElement PRESSURE
public static final ECavityElement PRESSURE_PRE
public static final ECavityElement PRESSURE_POST
public static final ECavityElement TEMPERATURE
public static final ECavityElement STATE_FREQUENCY
public static ECavityElement[] values()
for (ECavityElement c : ECavityElement.values()) System.out.println(c);
public static ECavityElement 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 getName(EName description_) throws EnumerationNotUsedException
IEEnum
null
value
is returned, except the enumeration of ID
which will always
return a value.getName
in interface IEEnum
description_
- The corresponding enumeration type which you wanted
to get. For more information see at the EName
enumeration.EnumerationNotUsedException
- If the enumeration indeed exists but
is not used these exception is thrown.public void putName(EName description_, java.lang.String name_) throws EnumerationNotUsedException
putName
in interface IEEnum
description_
- Is the EName enumeration one wants to set.name_
- Is the name of the string value. This can also be
null.EnumerationNotUsedException
- Is thrown if the enumeration is known
but not used.public int size()
IEData
public boolean isAdjusting()
IEData
Returns a logical value if the data component is adjusting its parameter just by dragging it around or not. With the word drag I mean that you take the component and drag it with the mouse button pressed down and push it to another location.
isAdjusting
in interface IEData
false
value while
it can also return on some data components a true
value
(for example with a slider component). You can also ignore this
value, which is in most of the cases okay!public boolean isCDI()
IEData
Tells the caller if this data element is part of a CDI server or not.
public boolean isFireEvent()
IEData
Normally all elements of these enumeration interface will fire an event
to modified it in the CDI server and therefore in the hardware and not
only on screen. This is currently done if this method returns a
true
value. If not it will return a false
.
isFireEvent
in interface IEData
true
if the value should be set on hardware,
otherwise a false
is returned.14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft