Lasttestinfo, Lastupgradestatus, Lastupgrade status – Echelon OpenLNS User Manual

Page 115: Lastupgradestatus p

Advertising
background image

OpenLNS Programmer's Reference

78

and custom interfaces associated with the device.
The Interfaces collection allows virtual and custom interfaces

to be added to any device that supports dynamic network

variables, dynamic message tags, or dynamic

LonMarkObjects. You add custom interfaces to a device with

the

Add

method.

Availability

Local, full, and lightweight clients.

Syntax

interfaceColl = object.Interfaces

Element

Description

interfaceColl

The

Interfaces

collection to be

returned.

object

The

AppDevice

object to be acted on.

Data Type

Interfaces collection object.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

LastTestInfo

Summary

Contains the

TestInfo

object containing the results of the last

time the

Test

method was called for this device.

The

AuxResultData

property indicates which properties of

the LastTestInfo object contain useful information.

Availability

Local, full, and lightweight clients.

Syntax

lastTestInfor = adObject.LastTestInfo

Element

Description

lastTestInfo

The

TestInfo

object containing the last

test results.

adObject

The

AppDevice

object to be acted on

Data Type

TestInfo

object.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

LastUpgradeStatus

Summary

Contains the

UpgradeStatus

object returned the last time the

Upgrade

method was called on the

AppDevice

object. This

object contains a Summary of the changes made during the

upgrade of the device's external interface.

The Upgrade method is used to upgrade a device’s external

interface. It returns an UpgradeStatus object, which contains

information indicating whether or not the upgrade was

successful, as well as information describing the changes made

to each external interface component (for example, LonMark

object, network variable, message tag, configuration property,

Advertising