Parent, Reason – Echelon OpenLNS User Manual

Page 985

Advertising
background image

OpenLNS Programmer's Reference

948

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,

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

added to the API.

Reason

Summary

Indicates the reason the external interface component

represented by the

UpgradeInfo o

bject was retained or

removed during the external interface upgrade

.

You can use the

Status

property to determine whether the

external interface component represented by this property

was removed or preserved in the new external interface.

Availability

Local, full, and lightweight clients.

Syntax

reasonValue = uiObject.

Reason

Element

Description

reasonValue

An enumerated value indicating the

reason this external interface component

was preserved or deleted.

The enumerated values for this element,

which are contained in the

ConstUpgrade

Reason

constant, are as follows:

1 lcaUgRsType
The external interface component was

preserved because it matched the type of a

component in the new external interface

(it is the same type of component, has the

same direction [if a network variable], the

same size, and so on). External interface

Advertising