public abstract class EvtTagAlarmListener extends EvtTagListener
DefaultEventHandler
mEventHandler
ALARM_STATUS_ACK, ALARM_STATUS_ALM, ALARM_STATUS_NONE, ALARM_STATUS_RTN, ALARM_TYPE_HIGH, ALARM_TYPE_HIGH_HIGH, ALARM_TYPE_LEVEL, ALARM_TYPE_LOW, ALARM_TYPE_LOW_LOW, ALARM_TYPE_NONE, BY_ID, BY_NDX
Constructor and Description |
---|
EvtTagAlarmListener() |
EvtTagAlarmListener(int RecordId) |
EvtTagAlarmListener(int RecordRefType,
int RecordRef) |
EvtTagAlarmListener(String RecordName) |
EvtTagAlarmListener(TagControl tagControl)
Creates a new instance of EvtTagListener
|
Modifier and Type | Method and Description |
---|---|
int |
getAlarmStatus()
Read the Alarm status at the time the event occured.
|
int |
getAlarmType()
Read the Alarm type at the time the event occured.
|
call, callTagChanged, getEventTime, getTypeInfo
ackAlarm, ackAlarm, getTagId, getTagName, getTagValueAsDouble, getTagValueAsLong, logTag, setTagId, setTagName, setTagValueAsDouble, setTagValueAsInt, setTagValueAsLong
public EvtTagAlarmListener(TagControl tagControl)
public EvtTagAlarmListener(int RecordId)
public EvtTagAlarmListener(int RecordRefType, int RecordRef) throws EWException
EWException
public EvtTagAlarmListener(String RecordName) throws EWException
EWException
public EvtTagAlarmListener()
public int getAlarmStatus()
getAlarmStatus
in class TagControl
TagControl
for valid alarm status values: TagControl.ALARM_STATUS_NONE,
TagControl.ALARM_STATUS_ALM,TagControl.ALARM_STATUS_ACK,TagControl.ALARM_STATUS_RTN
public int getAlarmType()
getAlarmType
in class TagControl
TagControl
for valid alarm type values: TagControl.ALARM_TYPE_NONE,TagControl.ALARM_TYPE_HIGH,TagControl.ALARM_TYPE_LOW,
TagControl.ALARM_TYPE_LEVEL,TagControl.ALARM_TYPE_HIGH_HIGH,TagControl.ALARM_TYPE_LOW_LOW