The function %HI_OpenLogDBForObject opens the dialog to browse the log database (control function).
Declaration
%HI_OpenLogDBForObject(
HBJ in refToObj,
INT in priorityMask,
BOOL in bASC,
INT in pageLen,
INT in intervalType
)
or
%HI_OpenLogDBForObject(
HBJ in refToObj,
INT in priorityMask,
BOOL in bASC,
INT in pageLen,
TIME in bt,
TIME in et
)
Parameters
refToObj
Reference to object.
priorityMask
Event type filter.
bASC
Order:
@TRUE - ascending
@FALSE - descending
pageLen
Page size within the interval of 5 ... 200.
intervalType
Time interval for browsing events. Possible values:
1 - last hour
8 - last 8 hours
12 - last 12 hours
24 - last 24 hours
bt
Beginning time (when you define own time interval for browsing events).
et
End time (when you define own time interval for browsing events).
Description
The function opens the dialog box for browsing the log database according to defined parameters from the ESL script. The function parameters copy the behaviour of corresponding dialog box for opening the log database when you browse events related to particular object.
The parameter priorityMask represents the filter for the Event type. It must be other than 0 and must be the sum of the values of the predefined variables _LOG_PRTY_*.
The parameter intervalType is INT type and allows to define the time interval for browsing events.
To define other time interval use the parameters bt and et of Absolute time type.
0 komentárov