메소드 | 설명 | |
---|---|---|
MonitoredItemQueue ( ) : System |
Creates an empty queue.
|
|
Publish ( DataValue &value, ServiceResult &error ) : bool |
Publishes the oldest value in the queue.
|
|
QueueValue ( DataValue value, ServiceResult error ) : void |
Adds the value to the queue.
|
|
SetQueueSize ( uint queueSize, bool discardOldest, DiagnosticsMasks diagnosticsMasks ) : void |
Sets the queue size.
|
|
SetSamplingInterval ( double samplingInterval ) : void |
Sets the sampling interval used when queuing values.
|
메소드 | 설명 | |
---|---|---|
Dequeue ( DataValue &value, ServiceResult &error ) : bool |
Removes a value and an error from the queue.
|
|
Enqueue ( DataValue value, ServiceResult error ) : void |
Adds the value to the queue. Discards values if the queue is full.
|
|
SetOverflowBit ( DataValue &value, ServiceResult &error ) : void |
Sets the overflow bit in the value and error.
|
public Publish ( DataValue &value, ServiceResult &error ) : bool | ||
value | DataValue | The value. |
error | ServiceResult | The error associated with the value. |
리턴 | bool |
public QueueValue ( DataValue value, ServiceResult error ) : void | ||
value | DataValue | The value to queue. |
error | ServiceResult | The error to queue. |
리턴 | void |
public SetQueueSize ( uint queueSize, bool discardOldest, DiagnosticsMasks diagnosticsMasks ) : void | ||
queueSize | uint | The new queue size. |
discardOldest | bool | Whether to discard the oldest values if the queue overflows. |
diagnosticsMasks | DiagnosticsMasks | Specifies which diagnostics which should be kept in the queue. |
리턴 | void |
public SetSamplingInterval ( double samplingInterval ) : void | ||
samplingInterval | double | The new sampling interval. |
리턴 | void |