Class AttBcScheduledProgrammZustand
- java.lang.Object
-
- java.lang.Number
-
- de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Short>
-
- de.bsvrz.sys.funclib.bitctrl.modell.tmbitctrlprogrammscheduler.attribute.AttBcScheduledProgrammZustand
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Short>>
@Wertebereich(minimum=0L, maximum=2L, einheit="") public class AttBcScheduledProgrammZustand extends de.bsvrz.sys.funclib.bitctrl.modell.att.Zahl<java.lang.Short>
Beschreibt den Zustand eines Programmes aus der Liste des Programmschedulers.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EINHEIT
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
static java.lang.Short
MAX_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
static java.lang.Short
MIN_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
static AttBcScheduledProgrammZustand
ZUSTAND_0_GEPLANT
das Schaltprogramm ist eingeplant.static AttBcScheduledProgrammZustand
ZUSTAND_1_AKTIVIERT
das Programm ist aktiviert.static AttBcScheduledProgrammZustand
ZUSTAND_2_ABGELAUFEN
das Programm ist abgelaufen.
-
Constructor Summary
Constructors Constructor Description AttBcScheduledProgrammZustand(java.lang.Short value)
Erzeugte eine neues Attribut .
-
Method Summary
Modifier and Type Method Description static java.util.List<AttBcScheduledProgrammZustand>
getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.static AttBcScheduledProgrammZustand
getZustand(java.lang.Short value)
Gibt den Zustand zu einer Zahl zurück odernull
, wenn die Zahl keinen Zustand repräsentiert.static AttBcScheduledProgrammZustand
getZustand(java.lang.String value)
Gibt den Zustand zu einem Zustandsnamen zurück odernull
, wenn kein Zustand einen solchen Namen hat.
-
-
-
Field Detail
-
MIN_VALUE
@Deprecated public static final java.lang.Short MIN_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
Der minimale Wert des Attributs.
-
MAX_VALUE
@Deprecated public static final java.lang.Short MAX_VALUE
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
Der maximale Wert des Attributs.
-
EINHEIT
@Deprecated public static final java.lang.String EINHEIT
Deprecated.neu:WerteBereich.getWerteBereich(Class)
undZahl.getWerteBereich()
Die Einheit.- See Also:
- Constant Field Values
-
ZUSTAND_0_GEPLANT
public static final AttBcScheduledProgrammZustand ZUSTAND_0_GEPLANT
das Schaltprogramm ist eingeplant.das Schaltprogramm ist eingeplant und wird vom Programmscheduler in der Zukunft aktiviert
-
ZUSTAND_1_AKTIVIERT
public static final AttBcScheduledProgrammZustand ZUSTAND_1_AKTIVIERT
das Programm ist aktiviert.das Programm ist aktiviert
-
ZUSTAND_2_ABGELAUFEN
public static final AttBcScheduledProgrammZustand ZUSTAND_2_ABGELAUFEN
das Programm ist abgelaufen.das Programm ist abgelaufen
-
-
Method Detail
-
getZustand
public static AttBcScheduledProgrammZustand getZustand(java.lang.Short 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 AttBcScheduledProgrammZustand 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<AttBcScheduledProgrammZustand> getZustaende()
Gibt alle Zustände zurück, die das Attribut besitzen kann.- Returns:
- alle Zustände die das Attribut annehmen kann.
-
-