public enum AlarmStatus extends Enum<AlarmStatus>
The alarm status reflect where the error has been generated. The same category is used by both EPICS 3 and EPICS 4.
EPICS 3 status is converted according to the following table:
DEVICE | HW_LIMIT_ALARM |
DRIVER | READ_ALARM, WRITE_ALARM, COMM_ALARM, TIMEOUT_ALARM, READ_ACCESS_ALARM, WRITE_ACCESS_ALARM |
RECORD | HIHI_ALARM, HIGH_ALARM, LOLO_ALARM, LOW_ALARM, STATE_ALARM, CALC_ALARM, DISABLE_ALARM, SIMM_ALARM |
DB | SCAN_ALARM, LINK_ALARM |
CONF | SOFT_ALARM, BAD_SUB_ALARM |
UNDEFINED | UDF_ALARM |
Enum Constant and Description |
---|
CLIENT
An error generated by the client (e.g channel not found, disconnected, ...)
|
CONF
An error generated by an error in configuration of one or multiple records.
|
DB
An error generated by the interaction of multiple records.
|
DEVICE
An error conditioned generated by the hardware.
|
DRIVER
An error conditioned raised by the driver (e.g.
|
NONE
No alarm associated.
|
RECORD
An error generated as part of the record calculation (e.g.
|
UNDEFINED
The status for a record that was never processed.
|
Modifier and Type | Method and Description |
---|---|
static AlarmStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlarmStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlarmStatus DEVICE
public static final AlarmStatus DRIVER
public static final AlarmStatus RECORD
public static final AlarmStatus DB
public static final AlarmStatus CONF
public static final AlarmStatus UNDEFINED
public static final AlarmStatus CLIENT
public static final AlarmStatus NONE
public static AlarmStatus[] values()
for (AlarmStatus c : AlarmStatus.values()) System.out.println(c);
public static AlarmStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2012. All Rights Reserved.