%HI_SetLogDBForObject function


Function
The function %HI_SetLogDBForObject sets the parameters for viewing data from the log database in the displayer of the Logging type (control function).
Declaration
%HI_SetLogDBForObject(
   INT in refId,
   HBJ in refToObj,
   INT in priorityMask,
   BOOL in bASC,
   INT in pageLen,
   INT in intervalType
 )

or



%HI_SetLogDBForObject(
   INT in refId,
   HBJ in refToObj,
   INT in priorityMask,
   BOOL in bASC,
   INT in pageLen,
   TIME in bt,
   TIME in et
 )
Parameters
refIdReference to the displayer of the Logging type.
refToObjReference to the object.
priorityMaskEvent type filter.
bASCOrder:
  • @True - ascending
  • @False - descending
pageLenPage size within the interval of 5 ... 200.
intervalTypeTime interval for browsing events. Possible values:
  • 1 - last hour
  • 8- last 8 hours
  • 12 - last 12 hours
  • 24 - last 24 hours
btBegin time (when you define own time interval for browsing events).
etEnd time (when you define own time interval for browsing events).
Description
The function parameters copy the behaviour of corresponding dialog box to open the log database when you browse events related to particular object.

The parameter priorityMask represents the filter for Event type. It must be other than 0 and must be the sum of the values of the predefined variables _LOG_PRTY_*.
Example
 %HI_SetLogDBForObject(_displayer, SystemD2000\HBJ, _LOG_PRTY_INFO, @TRUE, 20, 8) 

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .