Parent, Pingclass – Echelon OpenLNS User Manual
Page 605
OpenLNS Programmer's Reference
568
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.
PingClass
Summary
Determines the frequency with which a device is tested
(pinged) to determine if it is still attached to the network.
This property classifies devices based on the probability that
the device may be detached. The higher the probability, the
more frequently the device will be pinged.
The Object Server
assumes a device to be detached if it cannot communicate
with that device three consecutive times.
Availability
Local, full, and lightweight clients.
Syntax
pingClassValue = Object.PingClass
Element
Description
Object
The device object to be acted on.
pingClassValue
The ping class of this object.
The
valid values for this element
,
which are provided in the
ConstPingClass constant, are as
follows:
0
lcaPingClassDefault
If this value is written to the
PingClass property, OpenLNS will
use the default
lcaPingClassStationary (3) value.
1 lcaPingClassMobile