ClientMonitoredItemGroup Class
Extends EventEmitter
Module: opcua.client
ClientMonitoredItemGroup
Constructor
ClientMonitoredItemGroup
(
-
subscription
-
itemsToMonitor
-
monitoringParameters
-
timestampsToReturn
Parameters:
-
subscription
ClientSubscription -
itemsToMonitor
Array-
nodeId
NodeId -
attributeId
AttributeId
-
-
monitoringParameters
MonitoringParameters -
timestampsToReturn
TimestampsToReturn
Item Index
Events
Methods
_monitor
Creates the monitor item (monitoring mode = Reporting)
(
private
-
done
Parameters:
-
done
Functioncallback
modify
(
-
parameters
-
[timestampsToReturn=null]
-
callback
Parameters:
-
parameters
Object -
[timestampsToReturn=null]
TimestampsToReturn optional -
callback
Function
terminate
(
async
-
done
remove the MonitoredItem from its subscription
Parameters:
-
done
Functionthe done callback
Events
changed
Notify the observers that the MonitoredItem value has changed on the server side.
Event Payload:
-
value
Object
changed
Notify the observers that a group MonitoredItem value has changed on the server side.
Event Payload:
-
monitoredItem
Object -
value
Object -
index
Object
err
Notify the observers that the monitored item has failed to initialized.
Event Payload:
-
statusCode
StatusCode
initialized
Notify the observers that the monitored item is now fully initialized.
terminated
Notify the observer that this monitored item has been terminated.