ClientMonitoredItemGroup Class
Extends EventEmitter
Module: opcua.client
ClientMonitoredItemGroup
Constructor
ClientMonitoredItemGroup
(
-
subscription -
itemsToMonitor -
monitoringParameters -
timestampsToReturn
Parameters:
-
subscriptionClientSubscription -
itemsToMonitorArray-
nodeIdNodeId -
attributeIdAttributeId
-
-
monitoringParametersMonitoringParameters -
timestampsToReturnTimestampsToReturn
Item Index
Events
Methods
_monitor
Creates the monitor item (monitoring mode = Reporting)
(
private
-
done
Parameters:
-
doneFunctioncallback
modify
(
-
parameters -
[timestampsToReturn=null] -
callback
Parameters:
-
parametersObject -
[timestampsToReturn=null]TimestampsToReturn optional -
callbackFunction
terminate
(
async
-
done
remove the MonitoredItem from its subscription
Parameters:
-
doneFunctionthe done callback
Events
changed
Notify the observers that the MonitoredItem value has changed on the server side.
Event Payload:
-
valueObject
changed
Notify the observers that a group MonitoredItem value has changed on the server side.
Event Payload:
-
monitoredItemObject -
valueObject -
indexObject
err
Notify the observers that the monitored item has failed to initialized.
Event Payload:
-
statusCodeStatusCode
initialized
Notify the observers that the monitored item is now fully initialized.
terminated
Notify the observer that this monitored item has been terminated.
The NodeOPCUA API