Parent, Precision – Echelon OpenLNS User Manual

Page 403

Advertising
background image

OpenLNS Programmer's Reference

366

Syntax

indexValue = fsObject.Index

Element

Description

fsObject

The

FormatSpec

object to be acted on.

indexValue

The index of the SNVT or SCPT.

Data Type

Long.

Read/Write

Read/write.

Added to API

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,

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

added to the API.

Precision

Summary

Determines the precision of the

FormatSpec

object. This

represents the number of digits that will be used when data

is read and displayed using the format specification.

This information is only used if the data being displayed is a

floating-point type.
If the FormatSpec object represents a single float type, this

property defaults to the value of the FloatPrecision property

of the FormatLocale object your application is using.
If the FormatSpec object represents a double float type, this

property defaults to the value of the DoubleFloatPrecision

property of the FormatLocale object your application is using.

See the FormatLocale object for more information.

Availability

Local, full, lightweight, and independent clients. Independent

clients can only access

FormatSpec

objects through monitor

Advertising