.NET Based OPC UA Client/Server SDK
3.1.2.511
|
Provides a queue for data changes. More...
Public Member Functions | |
MonitoredItemQueue (Subscription subscription) | |
Creates an empty queue. More... | |
void | SetSamplingInterval (double samplingInterval) |
Sets the sampling interval used when queuing values. More... | |
void | SetQueueSize (uint queueSize, bool discardOldest, DataValue lastValue) |
Sets the queue size. More... | |
void | QueueValue (DataValue value) |
Adds the value to the queue. More... | |
bool | Publish (out DataValue value) |
Publishes the oldest value in the queue. More... | |
Properties | |
uint | QueueSize [get] |
Gets the current queue size. More... | |
int | ItemsInQueue [get] |
Gets number of elements actually contained in value queue. More... | |
bool | IsInitialDataChange [get, set] |
Initicating if the initial DataChange is in the Queue. More... | |
long | NextSampleTime [get, set] |
The tickcount when the current sampling interval ends More... | |
Provides a queue for data changes.
UnifiedAutomation.UaServer.MonitoredItemQueue.MonitoredItemQueue | ( | Subscription | subscription | ) |
Creates an empty queue.
bool UnifiedAutomation.UaServer.MonitoredItemQueue.Publish | ( | out DataValue | value | ) |
Publishes the oldest value in the queue.
value | The value. |
void UnifiedAutomation.UaServer.MonitoredItemQueue.QueueValue | ( | DataValue | value | ) |
Adds the value to the queue.
value | The value to queue. |
void UnifiedAutomation.UaServer.MonitoredItemQueue.SetQueueSize | ( | uint | queueSize, |
bool | discardOldest, | ||
DataValue | lastValue | ||
) |
Sets the queue size.
queueSize | The new queue size. |
discardOldest | Whether to discard the oldest values if the queue overflows. |
lastValue | The last value. |
void UnifiedAutomation.UaServer.MonitoredItemQueue.SetSamplingInterval | ( | double | samplingInterval | ) |
Sets the sampling interval used when queuing values.
samplingInterval | The new sampling interval. |
|
getset |
Initicating if the initial DataChange is in the Queue.
|
get |
Gets number of elements actually contained in value queue.
|
getset |
The tickcount when the current sampling interval ends
|
get |
Gets the current queue size.