Parentinterface – Echelon OpenLNS User Manual
Page 469
OpenLNS Programmer's Reference
432
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.
Comments
The parent object is determined by the means in which a
child object is accessed, not by the OpenLNS Object
hierarchy.
ParentInterface
Summary
belongs
.
on a network contains an
containing the device’s main interface, and an
collection containing the custom interfaces that have been
added to the device dynamically. The interfaces each contain
network variables and LonMarkObjects that reflect the
device’s functionality on the network.
The ParentInterface property returns the
belongs. In the case of static
LonMarkObjects and network variables, this property
returns the main device interface or device template the
object is associated with. In the case of a dynamic
and network variables, it returns the custom
interface to which the object belongs.
The ParentInterface property is read-only. However, you can
move a dynamic network variable or
one custom interface to another with the
method.
Availability
Local, full, and lightweight clients.
Syntax
interface = object.ParentInterface
Element
Description
interface
property.
object
Data Type
Read/Write
Read only.