Status – Echelon OpenLNS User Manual

Page 988

Advertising
background image

OpenLNS Programmer's Reference

951

Status

Summary

Indicates whether the external interface component

represented by the

UpgradeInfo

object was preserved or

deleted during the external interface upgrade. It also

indicates whether any other modifictions were made as a

result of the upgrade (for example, the component was

moved).

If an external interface component is preserved, the new

component will automatically have its properties set to

match the old component, and the component will be

bound into any connections of which the old component

was a member.

If an external interface component is deleted, all

connection information and properties set for that

component will be erased. If the component is a

configuration property, its value will also be erased. Use

the Reason property to find out why a component was

preserved or removed from the new interface.

You can use the Class and FromIndex properties to

determine the interface component to which the Status

property applies.
If the component is a configuration property contained by a

LonMarkObject or NetworkVariable, you can use the

FromOwnerIndex property to identify the LonMarkObject or

NetworkVariable object.

Availability

Local, full, and lightweight clients.

Syntax

statusValue = uiObject.

Status

Element

Description

uiObject

The UpgradeInfo object to be acted on.

statusValue

The status of the component represented by

the UpgradeInfo object.

The enumerated values for this element,

which are contained in the

ConstUpgrade

Status

constant, are as follows:

1 lcaUgStsDeleted
The external interface component does not

exist in the new external interface. The

component will be removed from any

connections and any configuration property

values will be lost.
2 lcaUgStsPreserved
The external interface component was

preserved in the new external interface. It

will be a member of any connections in

which the old component was a member and

Advertising