Classid, Majorapiversion, Majorversion – Echelon OpenLNS User Manual

Page 138

Advertising
background image

OpenLNS Programmer's Reference

101

ClassId

Summary

Identifies the object class of this 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

Application

object in the

ConstClassIds

constant:
70 lcaClassIdApplication

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.

Comments

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).

MajorAPIVersion

Summary

Contains the major version of LNS used when the application

was compiled. This property is used with the

MinorApiVersion

property to provide the full version

information. This property is set to 255 if there is no

available version information.

Availability

Local, full, and lightweight clients.

Syntax

majApiVersion = appObject.MajorApiVersion

Element

Description

majApiVersion The major version of OpenLNS used

when this application was compiled.

appObject

The

Application

object to be acted on.

Added to API

LNS Release 3.0.

MajorVersion

Summary

Contains the major version of the application. This property

is used with the

MinorVersion

property to provide the full

version information. This property is set to 255 if there is no

available version information.

Availability

Local, full, and lightweight clients.

Advertising