public class AlarmTimeExtractor extends Object implements Alarm, Time
| Modifier and Type | Field and Description |
|---|---|
protected AlarmSeverity |
alarmSeverity |
protected static AlarmSeverity[] |
alarmSeverityMapLUT |
protected String |
alarmStatus |
protected static String[] |
alarmStatusMapLUT |
protected boolean |
isTimeValid |
protected org.epics.util.time.Timestamp |
timeStamp |
protected Integer |
timeUserTag |
| Constructor and Description |
|---|
AlarmTimeExtractor(org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlarmName()
Returns a brief text representation of the highest currently active alarm.
|
AlarmSeverity |
getAlarmSeverity()
Returns the alarm severity, which describes the quality of the
value returned.
|
org.epics.util.time.Timestamp |
getTimestamp()
The timestamp of the value, typically indicating when it was
generated.
|
Integer |
getTimeUserTag()
Returns a user defined tag, that can be used to store extra
time information, such as beam shot.
|
boolean |
isTimeValid()
Returns a data source specific flag to indicate whether the time
information should be trusted.
|
protected final AlarmSeverity alarmSeverity
protected final String alarmStatus
protected final org.epics.util.time.Timestamp timeStamp
protected final Integer timeUserTag
protected final boolean isTimeValid
protected static final AlarmSeverity[] alarmSeverityMapLUT
protected static final String[] alarmStatusMapLUT
public AlarmTimeExtractor(org.epics.pvdata.pv.PVStructure pvField,
boolean disconnected)
public AlarmSeverity getAlarmSeverity()
AlarmgetAlarmSeverity in interface Alarmpublic String getAlarmName()
AlarmgetAlarmName in interface Alarmpublic org.epics.util.time.Timestamp getTimestamp()
TimegetTimestamp in interface Timepublic Integer getTimeUserTag()
TimegetTimeUserTag in interface Timepublic boolean isTimeValid()
TimeisTimeValid in interface TimeCopyright © 2010–2015. All rights reserved.