public class MonitoredDataItem extends BaseMonitoredItem<DataValue> implements DataItem
clientHandle, discardOldest, id, monitoringMode, queue, queueSize, readValueId, samplingInterval, subscriptionId, timestamps, triggered, triggeredItems| Constructor and Description |
|---|
MonitoredDataItem(UInteger id,
UInteger subscriptionId,
ReadValueId readValueId,
MonitoringMode monitoringMode,
TimestampsToReturn timestamps,
UInteger clientHandle,
double samplingInterval,
ExtensionObject filter,
UInteger queueSize,
boolean discardOldest) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLastValue() |
protected void |
enqueue(DataValue value) |
ExtensionObject |
getFilterResult() |
protected void |
installFilter(ExtensionObject filterXo) |
boolean |
isSamplingEnabled() |
void |
setMonitoringMode(MonitoringMode monitoringMode) |
void |
setQuality(StatusCode quality)
Apply a new
StatusCode to the last value that passed the filter and then set the derived value. |
void |
setValue(DataValue value)
Set the latest sampled value.
|
protected MonitoredItemNotification |
wrapQueueValue(DataValue value) |
getClientHandle, getId, getMonitoringMode, getNotifications, getQueueSize, getReadValueId, getSamplingInterval, getSubscriptionId, getTimestampsToReturn, getTriggeredItems, hasNotifications, isDiscardOldest, isTriggered, modify, setQueueSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSamplingIntervalgetId, getReadValueId, getSubscriptionId, getTimestampsToReturnpublic MonitoredDataItem(UInteger id, UInteger subscriptionId, ReadValueId readValueId, MonitoringMode monitoringMode, TimestampsToReturn timestamps, UInteger clientHandle, double samplingInterval, ExtensionObject filter, UInteger queueSize, boolean discardOldest) throws UaException
UaExceptionpublic void setValue(DataValue value)
DataItemprotected void enqueue(DataValue value)
enqueue in class BaseMonitoredItem<DataValue>public void setQuality(StatusCode quality)
DataItemStatusCode to the last value that passed the filter and then set the derived value.setQuality in interface DataItemquality - the StatusCode to apply.public boolean isSamplingEnabled()
isSamplingEnabled in interface MonitoredItemtrue if this item should be sampled.public void setMonitoringMode(MonitoringMode monitoringMode)
setMonitoringMode in class BaseMonitoredItem<DataValue>public void clearLastValue()
protected void installFilter(ExtensionObject filterXo) throws UaException
installFilter in class BaseMonitoredItem<DataValue>UaExceptionpublic ExtensionObject getFilterResult()
getFilterResult in class BaseMonitoredItem<DataValue>protected MonitoredItemNotification wrapQueueValue(DataValue value)
wrapQueueValue in class BaseMonitoredItem<DataValue>Copyright © 2018. All rights reserved.