Daysremaining, Deficitcredits (deprecated) – Echelon OpenLNS User Manual

Page 236

Advertising
background image

OpenLNS Programmer's Reference

199

Syntax

classIdValue = object.ClassId

Element

Description

classIdValue

The object class of the object. The

following value is defined for the

CreditInfo object in the

ConstClassIds

constant:
53 lcaClassIdCreditInfo

object

The object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Depends on the object used to access the property. Generally,

this property exists for an object as soon as the object is

added to the API.

DaysRemaining

Summary

Returns the number of days until the OpenLNS activation

license expires or 255, whichever is lesser.
Note: In previous LNS releases, this property indicated the

number of days remaining before the OpenLNS Server

license would expire due to being in deficit mode. When not

in deficit mode, the value was always 255.

Availability

Local, full, and lightweight clients.

Syntax

numDays = object.DaysRemaining

Element

Description

numDays

The number of days until the LNS

activation license expires

.

object

The CreditInfo object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

DeficitCredits (Deprecated)

Summary

Returns 0.
Note: In previous LNS releases, this property indicated how

many credits had been consumed over the number of credits

purchased.

Availability

Local, full, and lightweight clients.

Syntax

deficitValue = creditObject.DeficitCredits

Element

Description

deficitValue

The number of deficit credits, which is

Advertising