Class AttUsvUsvZustand
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
-
- de.bsvrz.sys.funclib.bitctrl.modell.tmusv.attribute.AttUsvUsvZustand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>>
public class AttUsvUsvZustand extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Byte>
Zustand der USV-Anlage.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AttUsvUsvZustand
ZUSTAND_0_NORMALBETRIEB
USV läuft im Normalbetrieb.static AttUsvUsvZustand
ZUSTAND_1_BATTERIEBETRIEB
USV läuft im Batteriebetrieb.static AttUsvUsvZustand
ZUSTAND_1N_NICHT_ERMITTELBAR
Daten sind nicht ermittelbar (ist KEIN Fehler).
-
Constructor Summary
Constructors Constructor Description AttUsvUsvZustand(java.lang.Byte value)
Erzeugte eine neues Attribut USV-Zustand.
-
Method Summary
Modifier and Type Method Description static java.util.List<AttUsvUsvZustand>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttUsvUsvZustand
getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttUsvUsvZustand
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
ZUSTAND_1N_NICHT_ERMITTELBAR
public static final AttUsvUsvZustand ZUSTAND_1N_NICHT_ERMITTELBAR
Daten sind nicht ermittelbar (ist KEIN Fehler).Wird gesetzt, wenn der Zustand der USV nicht bekannt ist.
-
ZUSTAND_0_NORMALBETRIEB
public static final AttUsvUsvZustand ZUSTAND_0_NORMALBETRIEB
USV läuft im Normalbetrieb.
-
ZUSTAND_1_BATTERIEBETRIEB
public static final AttUsvUsvZustand ZUSTAND_1_BATTERIEBETRIEB
USV läuft im Batteriebetrieb.
-
-
Method Detail
-
getZustand
public static AttUsvUsvZustand getZustand(java.lang.Byte value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.- Parameters:
value
- ein Zahlenwert- Returns:
- der Zustand zu dem Zahlenwert oder
null
, wenn die Zahl keine Entsprechnung als Zustand besitzt.
-
getZustand
public static AttUsvUsvZustand getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.- Parameters:
value
- der Zustandsname- Returns:
- der Zustand zu dem Zustandsnamen oder
null
, wenn kein Zustand einen solchen Namen hat.
-
getZustaende
public static java.util.List<AttUsvUsvZustand> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-