Scope – Echelon OpenLNS User Manual
Page 979
OpenLNS Programmer's Reference
942
Scope
Summary
Each TypeSpec object references a type defined in a LonMark
resource file. This property indicates the scope of the
resource file that contains that type’s definition. The scope of
a resource file determines which devices will use the types
defined in that resource file.
Availability
Local, full, and lightweight clients.
Syntax
scopeValue = typeSpec.
Element
Description
scopeValue
The scope of the device resource file
containing the definition of this type.
The possible values of this element, which
are stored in the
ConstResourceScope
constant, are as follows:
0 lcaResourceScopeStandard
This scope applies to all devices.
1 lcaResourceScopeClass
This scope applies to all devices of a
specified device class from any
manufacturer.
2 lcaResourceScopeSubclass
This scope applies to all devices of a
specified device class and device subclass
from any manufacturer.
3 lcaResourceScopeMfg
This scope applies to all devices of a
specified manufacturer.
4 lcaResourceScopeMfgClass
This scope applies to all devices of a
specified manufacturer and device class.
5 lcaResourceScopeMfgSubClass
This scope applies to all devices of a
specified manufacturer, device class and
device subclass.
6 lcaResourceScopeMfgModel
This scope applies to all devices of a
specified manufacturer, device class,
device subclass and model.
-1 lcaResourceScopeUnknown
The scope of the resource file is not
known, or could not be found.
-2