beautypg.com

Expirationdate, Licenseid, Licesnseid – Echelon OpenLNS User Manual

Page 54

background image

OpenLNS Programmer's Reference

17

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.DeviceCapacityConsumed

Element

Description

numberDevices

The number of devices that have been

defined in the database.

alObject

The ActivationLicense object to be acted

on.

Data Type

Integer.

Read/Write

Read only.

Added to API

OpenLNS.

ExpirationDate

Summary

The date on which the license expires. The license will expire

at 00:00 local time on the morning of the specified date.

Availability

Local, full, and lightweight clients.

Syntax

date = alObject.ExpirationDate

Element

Description

date

The date the license expires. An empty

string indicates that there is no expiration

date for the license.

alObject

The ActivationLicense object to be acted

on.

Data Type

Date.

Read/Write

Read only.

Added to API

OpenLNS.

LicenseId

Summary

The unique LNS activation license ID.

Availability

Local, full, and lightweight clients.

Syntax

licenseIdValue = alObject.LicenseId

Element

Description

licenseIdValue

The LNS activation license ID. This is an

empty string if no license ID is found.

alObject

The ActivationLicense object to be acted

on.