Classid, Domainid – Echelon OpenLNS User Manual

Page 854

Advertising
background image

OpenLNS Programmer's Reference

817

ClassId

Summary

Identifies the object class of this object.
This property allows the object type to be determined when it

is unknown (for example, when the object was accessed using

the Parent property of another object).

Availability

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

some objects containing this property are not available to

Independent clients.

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

SourceAddress

object in the

ConstClassIds

constant:

82 lcaClassIdSourceAddress

object

The object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

DomainId

Summary

Contains the domain ID of the device which generated the

network variable or message monitor point update.
The domain ID is stored as a string of hexadecimal digits.

For example, a 3-byte domain ID would be represented as

follows: "32a0cf". Domain IDs can be 1, 3, or 6 bytes in

length.
If the network variable of message monitor point update

came from a device using Neuron ID addressing that is on a

different domain than the OpenLNS database, this property

contains an empty string.

Availability

Local and full clients.

Syntax

domainIdValue = srcAddrObject.DomainId

Element

Description

domainIdValue

The domain ID for the subnet.

srcAddrObject

The SourceAddress

object to be

acted on.

Data Type

String.

Read/Write

Read only.

Advertising