Registeredserver, Versionnumber, Componentapps – Echelon OpenLNS User Manual

Page 172

Advertising
background image

OpenLNS Programmer's Reference

135

RegisteredServer

Summary

Contains the plug-in name that is stored in the Windows

registry for this component application. Component

applications must follow the Windows component

registration guidelines.

Availability

Local, full, lightweight, and independent clients.

Syntax

serverName = compAppObject.RegisteredServer

Element

Description

compAppObject

The

ComponentApp

object to be acted

on.

serverName

The registered name of the plug-in as

a string.

Data Type

String.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

VersionNumber

Summary

The version number of the

ComponentApp

object.

Availability

Local, full, lightweight, and independent clients.

Syntax

versionValue = compAppObject.VersionNumber

Element

Description

versionValue

The component application version

number.

compAppObject

The

ComponentApp

object from which

to get the information.

Data Type

String.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

ComponentApps

A ComponentApps object is a collection of

ComponentApp

objects. ComponentApps collection

objects are contained in the

ObjectServer

,

System

,

DeviceTemplate

, and

LonMarkObject

objects. An LCA director application can determine what plug-in commands are available by

examining the

ComponentApp

objects and can launch the plug-in using the

RegisteredServer

property:

Plug-in commands to be used by all networks are listed in the ComponentApps collection

in the ObjectServer object.

Plug-in commands that are specific to a network are listed in the System objects.

Plug-in commands that are specific to a device type are listed in the DeviceTemplate

objects.

Advertising