APIs

Show:

ClientMonitoredItemGroup

Constructor

ClientMonitoredItemGroup

(
  • subscription
  • itemsToMonitor
  • monitoringParameters
  • timestampsToReturn
)

Parameters:

Methods

_monitor Creates the monitor item (monitoring mode = Reporting)

(
  • done
)
private

Parameters:

  • done Function

    callback

modify

(
  • parameters
  • [timestampsToReturn=null]
  • callback
)

Parameters:

  • parameters Object
  • [timestampsToReturn=null] TimestampsToReturn optional
  • callback Function

terminate

(
  • done
)
async

remove the MonitoredItem from its subscription

Parameters:

  • done Function

    the 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:

initialized

Notify the observers that the monitored item is now fully initialized.

terminated

Notify the observer that this monitored item has been terminated.