Echelon LNS User Manual

Page 299

Advertising
background image

LNS Programmer's Guide

285

In other cases, specifically for cases where no or multiple plug-ins have been marked as

the default provider, the director provides some user interface that lets the user to choose
between all applicable plug-in applications and the director’s own generic solution.

For operations that relate to a device, the DeviceTemplate object provides a
ComponentApps collection. For operations that relate to particular LonMarkObject

objects within a given device, the LonMarkObject object provides a ComponentApps
collection. Finally, the System object’s and ObjectServer objects’ ComponentApps

properties may be used to register plug-ins that apply to different items such as the
Channel or Subsystem objects, or that apply to a wider range of items. A generic

browser tool such as the LonMaker Browser facility is an example of a LNS plug-in

application that supports browse and configure commands for all devices, whatever their
type (program ID).

Thus, the director application must scan all applicable ComponentApps collection objects

to collect the list of applicable plug-ins, as illustrated in Figure 12.2.

Advertising