'Declaration
Public Function New( _ ByVal dataChangeCallback As EasyUADataChangeNotificationEventHandler, _ ByVal state As Object, _ ByVal endpointDescriptor As UAEndpointDescriptor, _ ByVal nodeDescriptor As UANodeDescriptor, _ ByVal monitoringParameters As UAMonitoringParameters, _ ByVal subscriptionParameters As UASubscriptionParameters, _ ByVal autoConditionRefresh As Boolean _ )
'Usage
Dim dataChangeCallback As EasyUADataChangeNotificationEventHandler Dim state As Object Dim endpointDescriptor As UAEndpointDescriptor Dim nodeDescriptor As UANodeDescriptor Dim monitoringParameters As UAMonitoringParameters Dim subscriptionParameters As UASubscriptionParameters Dim autoConditionRefresh As Boolean Dim instance As New EasyUAMonitoredItemArguments(dataChangeCallback, state, endpointDescriptor, nodeDescriptor, monitoringParameters, subscriptionParameters, autoConditionRefresh)
public EasyUAMonitoredItemArguments( EasyUADataChangeNotificationEventHandler dataChangeCallback, object state, UAEndpointDescriptor endpointDescriptor, UANodeDescriptor nodeDescriptor, UAMonitoringParameters monitoringParameters, UASubscriptionParameters subscriptionParameters, bool autoConditionRefresh )
public: EasyUAMonitoredItemArguments( EasyUADataChangeNotificationEventHandler^ dataChangeCallback, Object^ state, UAEndpointDescriptor^ endpointDescriptor, UANodeDescriptor^ nodeDescriptor, UAMonitoringParameters^ monitoringParameters, UASubscriptionParameters^ subscriptionParameters, bool autoConditionRefresh )
Parameters
- dataChangeCallback
- A callback method to be invoked for each significant monitored item change.
- state
- User-defined state object.
- endpointDescriptor
- Endpoint descriptor. Identifies the OPC-UA server.
- nodeDescriptor
- Node descriptor. Identifies the node in OPC server's address space.
- monitoringParameters
- Contains monitoring parameters (such as the sampling interval, and optional data change filter).
- subscriptionParameters
- Contains subscription parameters (such as the publishing interval).
- autoConditionRefresh
- When set, a ConditionRefresh will be automatically performed when needed to keep the condition information up-to-date.