beautypg.com

Objectid, Parent – Echelon OpenLNS User Manual

Page 452

background image

OpenLNS Programmer's Reference

415

ObjectId

Summary

Returns the ID of the

LonMarkObject

to which this

LonMarkAlarm

applies.

On static interfaces, objects are numbered from 0 to n-1,

where n is the number of objects in an AppDevice. On

dynamic interfaces, the object index may be greater than or

equal to the value n (the number of objects on the device). See

the LonMark Application Layer Interoperability Guidelines

for more information.
You can use the LonMarkObjects collection’s ItemByIndex

method to access the LonMarkObject containing the network

variable. You can use the value stored in this property as the

memNumVal element when you call the ItemByIndex

method.

Availability

Local, full, and lightweight clients.

Syntax

objectIdValue = lmaObject.ObjectId

Element

Description

lmaObject

The

LonMarkAlarm

object to be acted

on.

objectIdValue

The object ID of the

LonMarkObject

object to which this

LonMarkAlarm

applies.

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Parent

Summary

Returns the object that spawned the current child object. The

parent object is determined by the means in which a child

object is accessed, not by the OpenLNS Object hierarchy.

Availability

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

some collection objects are not available to Independent

clients.

Syntax

parentObject = object.Parent

Element

Description

parentObject

The object that is the parent of the

specified object.

object

Any object for which the parent is

desired.

Data Type

Object.

Read/Write

Read only.

Added to API

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