com.ewon.ewonitf
Class EvtTagValueListener
java.lang.Object
com.ewon.ewonitf.TagControl
com.ewon.ewonitf.EvtTagListener
com.ewon.ewonitf.EvtTagValueListener
- All Implemented Interfaces:
- EvtListener
public abstract class EvtTagValueListener
- extends EvtTagListener
This is an abstract class from which user's tag value listener must be derived.
An example is given in DefaultEventHandler
- Since:
- javaetk 1.3
Fields inherited from class com.ewon.ewonitf.TagControl |
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 |
Methods inherited from class com.ewon.ewonitf.TagControl |
ackAlarm, ackAlarm, getAlarmStatus, getAlarmType, getTagId, getTagName, getTagValueAsDouble, getTagValueAsLong, logTag, setTagId, setTagName, setTagValueAsDouble, setTagValueAsInt, setTagValueAsLong |
EvtTagValueListener
public EvtTagValueListener(TagControl tagControl)
- Creates a new instance of EvtTagListener
EvtTagValueListener
public EvtTagValueListener(int RecordId)
EvtTagValueListener
public EvtTagValueListener(int RecordRefType,
int RecordRef)
throws EWException
- Throws:
EWException
EvtTagValueListener
public EvtTagValueListener(String RecordName)
throws EWException
- Throws:
EWException
EvtTagValueListener
public EvtTagValueListener()
getTagValueType
public int getTagValueType()
- The tag type at the time the event occured. This is probably the same as the TagControl tag type,
except if configuration has changed between the moment the tag changed and the moment the
callTagChanged listener is called.
- Returns:
- The tag type.
getChangedValueAsDouble
public double getChangedValueAsDouble()
- Value of tag at the time the vent occured.
- Returns:
- The tag value converted to double.
www.eWON.biz: Your Eyes Watching Over Net