Index, Iscomplete – Echelon OpenLNS User Manual

Page 975

Advertising
background image

OpenLNS Programmer's Reference

938

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

TypeSpec object in the

ConstClassIds

constant:
94 lcaClassIdTypeSpec

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.

Index

Summary

Indicates the index number of the type referenced by this

TypeSpec

object, as defined in the resource file that contains

the type’s definition.

When new values are written to the Scope, ProgramId,

TypeName properties of the TypeSpec

object and the

TypeSpec

object is passed back to the network variable,

OpenLNS sets the Index property automatically. If the type

referenced by the TypeSpec

object is a standard type, this will

be the SNVT index of the type. If the type is a user-defined

type, this will be the index of the type as defined in the

resource files containing the definition of the type.

Availability

Local, full, and lightweight clients.

Syntax

indexValue = typeSpec.

Index

Element

Description

indexValue

The index number of the type.

typeSpec

The

TypeSpec

object to be acted on.

Data Type

Long.

Read/Write

Read/write.

Added to API

LNS Release 3.20.

IsComplete

Summary

Indicates whether the

TypeSpec

object is complete.

Generally, you do not need to check whether a TypeSpec

object is complete before passing it back to a network

variable. However, if you are creating a new network

variable or changing a network variable’s type from a type

that was received from another network variable, you need to

check if it is complete. This property may be one of the

following values:

Advertising