Owner manual

OpenLNS Programmer's Reference 136
Note that the Interface property of all AppDevice objects contain a ComponentApps collection;
however, the behavior of this collection is unspecified.
The following table summarizes the ComponentApps object.
A collection of objects.
Prior to LNS Release 3.0.
DeviceTemplate object
LonMarkObject
ObjectServer object
System object
Item
Add
Remove
ClassId
Count
Item
Parent
_NewEnum
Methods
The ComponentApps object contains the following methods.
Add
Remove
Add
Summary
Defines a new ComponentApp object.
Availability
Local, full, lightweight, and independent clients.
Syntax
compAppObject = compAppsColl.Add (compAppName,
registeredServer, classId)
Element
Description
compAppObject
The newly defined ComponentApp
object.
compAppsColl
The ComponentApps collection object.
compAppName
A String containing the name of the
plug-in command. The name should be
a descriptive name suitable for display
as a menu selection.
registeredServer
A String containing the registered
(OLE) automation server name for the
plug-in containing the command.
classId
An Integer value indicating the type of
object with which the ComponentApp
object is to be associated.
See the ComponentClassID property in