Extensions, Extensions () – Echelon OpenLNS User Manual

Page 346

Advertising
background image

OpenLNS Programmer's Reference

309

Variant type in binary large objects

(BLOBs) of up to 65,000 bytes.
Values are tagged with a unique key to

ensure that applications from multiple

manufacturers do not overwrite each

other's data.
The Value3 property supports the

following Variant types:
VT_BOOL

VT_UI1

VT_I2

VT_I4

VT_CY

VT_R4

VT_R8

VT_DATE

VT_BSTR

VT_ERROR

VT_DISPATCH

VT_UNKNOWN

VT_EMPTY

VT_NULL
All single-dimensional Variant arrays,

except for arrays of BSTRs.

extensionObject

The

Extension

object to operate on.

Data Type

Variant.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

Extensions

The

Extensions

object is a collection of

Extension

objects. Each manufacturer can define any

number of manufacturer specific data objects for application specific data. Collections of

these objects can be associated with the object server, a channel, a device template, a

hardware template, a network, a device, or a router.
You should note that the

Extensions

collection for a Network object is stored in the

computer-specific global database, and is not exported with the Network database. As a

result, the collection would be lost in the process of transferring a network database from

one computer to another.

The following table summarizes the Extensions

object.

Description

Represents a collection of

Extensions

objects.

Added to API

Prior to LNS Release 3.0.

Accessed Through

AppDevice

object

Channel

object

DeviceTemplate

object

LonMarkObject

object

Network

object

NetworkServiceDevice

object

Advertising