Mode – Echelon OpenLNS User Manual

Page 206

Advertising
background image

OpenLNS Programmer's Reference

169

Added to API

OpenLNS.

Mode

Summary

Returns the scope of the LonMark resource file containing

the definition of the type used by this configuration property.
The value is acquired from the device during the import of

the LonMark information during installation.

Availability

Local, full, lightweight, and independent clients. Note that

some objects containing this property are not available to

Independent clients.

Syntax

classMode = cpObject.Mode

Element

Description

classMode

The scope of the LonMark resource file

containing the definition of the type this

configuration property is using.
The possible values for this property,

which are stored in the

ConstResourceScope

constant (and in

the

ConstConfigPropertyModes

constant

for LNS versions prior to LNS Release

3.20), are as follows:
0 lcaResourceScopeStandard
Applies to all devices.
1 lcaResourceScopeClass
Applies to all devices of a specified

device class from any manufacturer.
2 lcaResourceScopeSubclass
Applies to all devices of a specified

device class and device subclass from

any manufacturer.
3 lcaResourceScopeMfg
Applies to all devices of a specified

manufacturer.
4 lcaResourceScopeMfgClass
Applies to all devices of a specified

manufacturer and device class.
5 lcaResourceScopeMfgSubClass
Applies to all devices of a specified

manufacturer, device class and device

subclass.
6 lcaResourceScopeMfgModel
Applies to all devices of a specified

manufacturer, device class, device

Advertising