UA Bundle SDK .NET  2.2.0.255
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.MonitoringParameters Class Reference

Parameters that define the monitoring characteristics of a MonitoredItem. More...

Inherits UnifiedAutomation.UaBase.IEncodeable.

Public Member Functions

 MonitoringParameters ()
 The default constructor. More...
 
virtual void Encode (IEncoder encoder)
 
 
virtual void Decode (IDecoder decoder)
 
 
virtual bool IsEqual (IEncodeable encodeable)
 Checks if encodeable is the same object or has the same content More...
 
virtual object Clone ()
 
 

Properties

uint ClientHandle [get, set]
 Client-supplied id of the MonitoredItem. This id is used in Notifications generated for the list Node. More...
 
double SamplingInterval [get, set]
 The interval that defines the fastest rate at which the MonitoredItem(s) should be accessed and evaluated. This interval is defined in milliseconds. The value 0 indicates that the Server should use the fastest practical rate. The value -1 indicates that the default sampling interval defined by the publishing interval of the Subscription is requested. A different sampling interval is used if the publishing interval is not a supported sampling interval. Any negative number is interpreted as -1. The sampling interval is not changed if the publishing interval is changed by a subsequent call to the ModifySubscription Service. The Server uses this parameter to assign the MonitoredItems to a sampling interval that it supports. The assigned interval is provided in the revisedSamplingInterval parameter. The Server shall always return a revisedSamplingInterval that is equal or higher than the requested samplingInterval. If the requested samplingInterval is higher than the maximum sampling interval supported by the Server, the maximum sampling interval is returned. More...
 
ExtensionObject Filter [get, set]
 A filter used by the Server to determine if the MonitoredItem should generate a Notification. If not used, this parameter is null. The MonitoringFilter parameter type is an extensible parameter type specified in 7.16. It specifies the types of filters that can be used. More...
 
uint QueueSize [get, set]
 The requested size of the MonitoredItem queue. The following values have special meaning for data monitored items: More...
 
bool DiscardOldest [get, set]
 A boolean parameter that specifies the discard policy when the queue is full and a new Notification is to be enqueued. It has the following values: More...
 
virtual ExpandedNodeId TypeId [get]
 
 
virtual ExpandedNodeId BinaryEncodingId [get]
 
 
virtual ExpandedNodeId XmlEncodingId [get]
 
 
- Properties inherited from UnifiedAutomation.UaBase.IEncodeable
ExpandedNodeId TypeId [get]
 Returns the UA type identifier for the encodable type. More...
 
ExpandedNodeId BinaryEncodingId [get]
 Returns the UA type identifier for the default binary encoding for the type. More...
 
ExpandedNodeId XmlEncodingId [get]
 Returns the UA type identifier for the default XML encoding for the type. More...
 

Detailed Description

Parameters that define the monitoring characteristics of a MonitoredItem.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.MonitoringParameters.MonitoringParameters ( )
inline

The default constructor.

Member Function Documentation

virtual bool UnifiedAutomation.UaBase.MonitoringParameters.IsEqual ( IEncodeable  encodeable)
inlinevirtual

Checks if encodeable is the same object or has the same content

Parameters
encodeable
Returns

Property Documentation

uint UnifiedAutomation.UaBase.MonitoringParameters.ClientHandle
getset

Client-supplied id of the MonitoredItem. This id is used in Notifications generated for the list Node.

bool UnifiedAutomation.UaBase.MonitoringParameters.DiscardOldest
getset

A boolean parameter that specifies the discard policy when the queue is full and a new Notification is to be enqueued. It has the following values:

TRUE
the oldest (first) Notification in the queue is discarded. The new Notification is added to the end of the queue.
FALSE
the new Notification is discarded. The queue is unchanged.
ExtensionObject UnifiedAutomation.UaBase.MonitoringParameters.Filter
getset

A filter used by the Server to determine if the MonitoredItem should generate a Notification. If not used, this parameter is null. The MonitoringFilter parameter type is an extensible parameter type specified in 7.16. It specifies the types of filters that can be used.

uint UnifiedAutomation.UaBase.MonitoringParameters.QueueSize
getset

The requested size of the MonitoredItem queue. The following values have special meaning for data monitored items:

0 or 1
the server returns the default queue size which shall be 1 as revisedQueueSize for data monitored items. The queue has a single entry, effectively disabling queuing. For values larger than one a first-in-first-out queue is to be used. The Server may limit the size in revisedQueueSize. In the case of a queue overflow, the Overflow bit (flag) in the InfoBits portion of the DataValue statusCode is set in the new value. The following values have special meaning for event monitored items:
0
the Server returns the default queue size for Event Notifications as revisedQueueSize for event monitored items.
1
the Server returns the minimum queue size the Server requires for Event Notifications as revisedQueueSize.
MaxUInt32
the Server returns the maximum queue size that the Server can support for Event Notifications as revisedQueueSize.

If a Client chooses a value between the minimum and maximum settings of the Server the value shall be returned in the revisedQueueSize. If the requested queueSize is outside the minimum or maximum, the Server shall return the corresponding bounding value. In the case of a queue overflow, an Event of the type EventQueueOverflowEventType is generated.

double UnifiedAutomation.UaBase.MonitoringParameters.SamplingInterval
getset

The interval that defines the fastest rate at which the MonitoredItem(s) should be accessed and evaluated. This interval is defined in milliseconds. The value 0 indicates that the Server should use the fastest practical rate. The value -1 indicates that the default sampling interval defined by the publishing interval of the Subscription is requested. A different sampling interval is used if the publishing interval is not a supported sampling interval. Any negative number is interpreted as -1. The sampling interval is not changed if the publishing interval is changed by a subsequent call to the ModifySubscription Service. The Server uses this parameter to assign the MonitoredItems to a sampling interval that it supports. The assigned interval is provided in the revisedSamplingInterval parameter. The Server shall always return a revisedSamplingInterval that is equal or higher than the requested samplingInterval. If the requested samplingInterval is higher than the maximum sampling interval supported by the Server, the maximum sampling interval is returned.


The documentation for this class was generated from the following file: