Enum DeviceGruppe
- java.lang.Object
-
- java.lang.Enum<DeviceGruppe>
-
- de.desy.mst.libs.framework.mstapp.tabellendaten.entry.DeviceGruppe
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DeviceGruppe>
public enum DeviceGruppe extends java.lang.Enum<DeviceGruppe>
Hilfsklasse fuer echte AEntry Device und Unterklassen. Devicegruppen sind hart kodiert. Bei neuen Devicegruppen muss die Source angepasst werden (einfach und so praktischer, da als EntwicklungsZeitKonzept gebraucht). Bitte danach DevicegruppenTest erfolgreich laufen lassen.- Version:
- 1.0.0
- Author:
- ws
-
-
Enum Constant Summary
Enum Constants Enum Constant Description D2Lage
D2Seki
D2Trim
D3Trim
DoTrim
L2TempAbschnitt
L2TempAllg
L2TempSLED
L2Trim
PeKlimaAnlage
PeKlimaFuehler
PeMag
PeTrim
ZZ_BAD_ENTRY
-
Field Summary
Fields Modifier and Type Field Description boolean
isLegalDeviceGruppe
java.lang.String
tabId
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceGruppe
getByDgNr(int dgNr)
int
getDevGrNr()
Maschine
getMaschine()
java.util.List<Maschine>
getMaschinenGleicherBasisXML()
FRAMEWORK USE ONLY
Idee: besserer Default fuer enable'te Maschinen im MaschinenMgrstatic DeviceGruppe
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DeviceGruppe[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZZ_BAD_ENTRY
public static final DeviceGruppe ZZ_BAD_ENTRY
-
PeKlimaFuehler
public static final DeviceGruppe PeKlimaFuehler
-
PeMag
public static final DeviceGruppe PeMag
-
PeKlimaAnlage
public static final DeviceGruppe PeKlimaAnlage
-
D2Trim
public static final DeviceGruppe D2Trim
-
L2Trim
public static final DeviceGruppe L2Trim
-
PeTrim
public static final DeviceGruppe PeTrim
-
DoTrim
public static final DeviceGruppe DoTrim
-
D3Trim
public static final DeviceGruppe D3Trim
-
D2Lage
public static final DeviceGruppe D2Lage
-
L2TempAllg
public static final DeviceGruppe L2TempAllg
-
L2TempSLED
public static final DeviceGruppe L2TempSLED
-
L2TempAbschnitt
public static final DeviceGruppe L2TempAbschnitt
-
D2Seki
public static final DeviceGruppe D2Seki
-
-
Method Detail
-
values
public static DeviceGruppe[] 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 (DeviceGruppe c : DeviceGruppe.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceGruppe 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
-
getByDgNr
public static final DeviceGruppe getByDgNr(int dgNr)
-
getDevGrNr
public final int getDevGrNr()
-
getMaschine
public Maschine getMaschine()
- Returns:
- die GERATENE (per Konvention Name faengt mit Maschine.name() an) Maschine spaeter vielleicht aus Tabelle
-
getMaschinenGleicherBasisXML
public java.util.List<Maschine> getMaschinenGleicherBasisXML()
FRAMEWORK USE ONLY
Idee: besserer Default fuer enable'te Maschinen im MaschinenMgr- Returns:
- alle Devises mit gleicher BasisTabId tun ihre geratene Maschine in die liste
-
-