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()
Alarm
getAlarmSeverity
in interface Alarm
public String getAlarmName()
Alarm
getAlarmName
in interface Alarm
public org.epics.util.time.Timestamp getTimestamp()
Time
getTimestamp
in interface Time
public Integer getTimeUserTag()
Time
getTimeUserTag
in interface Time
public boolean isTimeValid()
Time
isTimeValid
in interface Time
Copyright © 2010–2015. All rights reserved.