public static enum ProfileDevice.ANGLE extends java.lang.Enum<ProfileDevice.ANGLE>
Enum Constant and Description |
---|
DIA
the diagonal plane
|
HOR
the horizontal plane
|
VER
the vertical plane
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
The the array index for this plot enumeration constant.
|
java.lang.String |
getLabel()
Returns the plot label for this enumeration constant.
|
SignalAttrs |
getSignalAttrs(SignalAttrSet setAttrs)
Extracts the proper signal attributes w.r.t.
|
ScadaFieldDescriptor |
getSignalPosFd(java.lang.Class<? extends SignalSet> clsData)
Extracts the field descriptor for the position channel
from the annotations of the given
SignalSet -derived class type. |
ScadaFieldDescriptor |
getSignalValFd(java.lang.Class<? extends SignalSet> clsData)
Extracts the field descriptor for the signal value channel
from the set of acquisition descriptors.
|
static ProfileDevice.ANGLE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProfileDevice.ANGLE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileDevice.ANGLE HOR
public static final ProfileDevice.ANGLE VER
public static final ProfileDevice.ANGLE DIA
public static ProfileDevice.ANGLE[] values()
for (ProfileDevice.ANGLE c : ProfileDevice.ANGLE.values()) System.out.println(c);
public static ProfileDevice.ANGLE 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 int getIndex()
public java.lang.String getLabel()
public SignalAttrs getSignalAttrs(SignalAttrSet setAttrs)
setAttrs
- set of signal attributes, one for each phase planepublic ScadaFieldDescriptor getSignalPosFd(java.lang.Class<? extends SignalSet> clsData) throws ScadaAnnotationException
SignalSet
-derived class type.clsData
- the Data
-derived child class with DAQ annotationsScadaAnnotationException
- a required field of the ASet
annotation was empty
or annotation not foundpublic ScadaFieldDescriptor getSignalValFd(java.lang.Class<? extends SignalSet> clsData) throws ScadaAnnotationException
clsData
- the SignalSet
-derived child class with DAQ annotationsScadaAnnotationException
- a required field of the ASet
annotation was empty
or annotation not found