Parent, State – Echelon OpenLNS User Manual

Page 140

Advertising
background image

OpenLNS Programmer's Reference

103

Availability

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

some objects that contain this property are not available to

Independent clients.

Syntax

stringValue = object.Name

Element

Description

stringValue

The name of the object.

object

The object to be acted on.

Data Type

String.

Read/Write

Read/write.

Added to API

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

this property exists for the objects listed above as soon as

they are added to the API.

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

example, an

AppDevice

object's parent can be a

NetworkServiceDevice

object or a

AppDevices

collection object

Availability

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

not all objects that contain this property are 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 the objects listed above as soon as

they are added to the API.

State

Summary

Describes the state of the application.

Availability

Local, full, and lightweight clients.

Syntax

stateValue = appObject.State

Element

Description

stateValue

The state of the device (online or

offline). The enumerated values for

this property, which are stored in the

Advertising