beautypg.com

Prioritylevel, Timestamp – Echelon OpenLNS User Manual

Page 453

background image

OpenLNS Programmer's Reference

416

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

added to the API.

PriorityLevel

Summary

Returns the priority level of the Alarm.

Availability

Local, full, and lightweight clients.

Syntax

priorityLevelValue = lmaObject.PriorityLevel

Element

Description

lmaObject

The

LonMarkAlarm

object to be

acted on.

priorityLevelValue

The priority level of the alarm as an

integer. The priority level may be

returned as one of the following

enumerations:

0

PR_LEVEL_0

1

PR_LEVEL_1

2

PR_LEVEL_2

3

PR_LEVEL_3

4

PR_1

5

PR_2

6

PR_3

7

PR_4

8

PR_6

9

PR_8

10

PR_10

11

PR_16

-1

PR_NUL = -1

Data Type

Integer.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

TimeStamp

Summary

Returns a formatted string that represents the time that the

alarm occurred

.

Availability

Local, full, and lightweight clients.

Syntax

timeStampValue = lmaObject.TimeStamp

Element

Description

lmaObject

The

LonMarkAlarm

object to be acted

on.

timeStampValue

The time at which the alarm occured

as a string. This element uses the

following format:

YYYY/MM/DD HH:MM:SS:MSS