Package gda.device
Class MCAStatus
java.lang.Object
gda.device.MCAStatus
- All Implemented Interfaces:
Serializable
Class to be used as status for MCA type devices - limited set of values available.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMCAStatus(int value) Constructor used internally to construct the allowed instances. -
Method Summary
-
Field Details
-
_FAULT
public static final int _FAULT- See Also:
-
FAULT
-
_READY
public static final int _READY- See Also:
-
READY
-
_BUSY
public static final int _BUSY- See Also:
-
BUSY
-
_UNKNOWN
public static final int _UNKNOWN- See Also:
-
UNKNOWN
-
-
Constructor Details
-
MCAStatus
protected MCAStatus(int value) Constructor used internally to construct the allowed instances.- Parameters:
value-
-
-
Method Details
-
value
public int value()Returns the actual value.- Returns:
- the value
-
from_int
Returns one of the possible instances.- Parameters:
value- the value for which the corresponding instance should be returned- Returns:
- the relevant instance
-