Objectid, Opencircuit, Objectid p – Echelon OpenLNS User Manual

Page 779

Advertising
background image

OpenLNS Programmer's Reference

742

ObjectId

Summary

Contains the ID of the LonMarkObject to which this

ObjectStatus object applies.

Objects are numbered from 0 to n-1, where n is the number of

objects in an

AppDevice

. See the LonMark Application Layer

Interoperability Guidelines for more information.

Availability

Local, full, and lightweight clients.

Syntax

objectIdValue = statusObject.ObjectId

Element

Description

objectIdValue

The ID of the LonMarkObject to

which this ObjectStatus object applies

statusObject

The ObjectStatus object to be acted

on.

Data Type

Long.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

OpenCircuit

Summary

Indicates

whether an open circuit has been discovered in the

LonMarkObject

object, or whether the

LonMarkObject

could

report an open circuit.

This description of this property depends on whether it was

accessed through the Status or ReportMask properties of a

LonMarkObject.

Status property. Indicates

whether an open circuit has

been discovered in the

LonMarkObject

object. If this

property is True, then open circuit has been discovered.

ReportMask property.

Indicates whether the

LonMarkObject

could report that an open circuit has

been discovered. If this property is True, then the

LonMarkObject

could report an open circuit

.

Availability

Local, full, and lightweight clients.

Syntax

openCircuitFlag = statusObject.OpenCircuit

Element

Description

openCircuitFlag

A Boolean value indicating whether

an open circuit has been discovered in

the

LonMarkObject

object, or whether

the

LonMarkObject

could report an

open circuit

.

Status Property
TRUE
. A

n open circuit has been

discovered in the

Advertising