Classid, Fieldcount – Echelon OpenLNS User Manual

Page 275

Advertising
background image

OpenLNS Programmer's Reference

238

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

DataPoint

object in the

ConstClassIds

constant:
72 lcaClassIdDataPoint

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.

FieldCount

Summary

Indicates the number of fields contained by this data point.

If a DataPoint object contains multiple fields, each field is

represented by its own DataPoint object. You can use the

DataPoint object's GetField method to get one of the

DataPoint object's fields. The fields can be indexed by

number and by name. The FieldCount property contains the

name of the field, if the DataPoint object represents one.

Availability

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

some objects containing this property are not available to

Independent clients.

Syntax

fieldCountValue = dpObject.FieldCount

Element

Description

fieldCountValue

The field count.

dpObject

The

DataPoint

object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

LNS Release 3.0.

Advertising