Subnetid, Subnets – Echelon OpenLNS User Manual

Page 127

Advertising
background image

OpenLNS Programmer's Reference

90

mode). The device's service LED is

off in this state.

object

The device to be acted on.

Data Type

Integer.

Read/Write

Read /write.

Added to API

Prior to LNS Release 3.0.

SubnetId

Summary

Contains the ID of the subnet. The

AppDevice

object's

SubnetId property identifies the subnet the device is part of.

This property can be used in conjunction with the

NodeId

property to uniquely identify a device.

Note: As of OpenLNS, you can write to this property.

Availability

Local, full, and lightweight clients.

Syntax

returnValue = object.SubnetId

Element

Description

returnValue

The subnet ID of the device.

object

The

AppDevice

to be acted on.

Data Type

Integer.

Read/Write

Read/write.

Added to API

Prior to LNS Release 3.0.

Subnets

Summary

Contains the

Subnets

collection object associated with the

specified

AppDevice

. The

Subnets

collection contains subnets

that are associated with object. For example, the

AppDevice

objects’ Subnets property returns a

Subnets

collection object

corresponding to the subnet for the device's index 0 domain

entry.

Availability

Local, full, and lightweight clients.

Syntax

subnetCollection = object.Subnets

Element

Description

subnetCollection

The returned subnet collection

object

The

AppDevice

object to be acted

upon.

Data Type

Subnets

collection object.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

Advertising