Echelon OpenLNS User Manual

Page 189

Advertising
background image

OpenLNS Programmer's Reference

152

AppDevice or DeviceTemplate as a whole, a collection of

LonMarkObjects, or a collection of NetworkVariable objects.

This property returns a (generic) collection of objects to which

the configuration property applies.
This property indicates ther type of objects the configuration

property applies. To access the actual objects to which the

configuration property applies, use the AppliesTo property.

Availability

Local, full, and lightweight clients.

Syntax

objectType = cpObject.AppliesToType

Element

Description

objectType

The type of objects to which this

configuration property applies. The

possible object types, which are

contained in ConstCpAppliesToTypes

constant, are as follows:
1 lcaCpAppliesToInterface
The configuration property applies to

an AppDevice or DeviceTemplate as a

whole. The object returned by the

AppliesTo property will be a collection

of Interface objects belonging to the

AppDevice or DeviceTemplate. For

static configuration properties, this

will include just the main interface.
2 lcaCpAppliesToLonMarkObject
The configuration property applies to

one or more LonMarkObjects.
3

lcaCpAppliesToNetworkVariable
The configuration property applies to

one or more NetworkVariable objects.

cpObject

The

ConfigProperty

object to be acted

on.

Data Type

Short.

Read/Write

Read only.

Added to API

OpenLNS.

Advertising