Daysremaining, Devicecapacity, Devicecapacityconsumed – Echelon OpenLNS User Manual

Page 53

Advertising
background image

OpenLNS Programmer's Reference

16

Comments

This property allows the object type to be determined when it

is unknown (for example, when the object was accessed using

the Parent property of another object).

DaysRemaining

Summary

Indicates the number of days remaining before the OpenLNS

Server license expires

.

Availability

Local, full, and lightweight clients.

Syntax

days = alObject.DaysRemaining

Element

Description

days

The number of days until the license

expires.
A value of lcaLicenseNoRestriction (-1)

indicates that there is no expiration.

alObject

The ActivationLicense object to be acted

on.

Data Type

Integer.

Read/Write

Read only.

Added to API

OpenLNS.

DeviceCapacity

Summary

The total number of devices that can be defined in the

database, excluding NSDs and routers.
A device that has been added without specifying both a

device template and a channel is not considered “defined”

until that device has been commissioned.

Availability

Local, full, and lightweight clients.

Syntax

numberDevices = alObject.DeviceCapacity

Element

Description

numberDevices

The number of devices that can be defined

in the database.
A value of 65535 indicates that the

database has unlimited capacity.

alObject

The ActivationLicense object to be acted

on.

Data Type

Integer.

Read/Write

Read only.

Added to API

OpenLNS.

DeviceCapacityConsumed

Summary

The total number of devices that have been defined in the

Advertising