Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CORE object is the core of the system, a global static object realized that implements methods used to control the state and to manage system objects of the Intellect software package. The  The extended possibilities for working with the CORE object are given provided when using scripts on JScript  in the JScript programming language see the The Script object. Programming using the JScript language.

...

Event

Description

DO_REACT

Event triggers the reaction of some object in the system. Description of action which is to be performed is forwarded in the action The action parameter of this event . Examples contains a description of the action that must be performed. Examples of values of the action parameter:

SET_MARKRECT – sends sent when a face recognizing is recognized on the video image;

DEL_MARKRECT – sends sent when a face disappearing disappears from the video image.

Can be other parameters of the event which Other event parameters may also be present that can be monitored using the Debug window (see The Script object. Programming using the JScript language, section The Debug window). For example, if If the value of action parameter the is SET_MARKRECT than , then the param5_val parameter contains the number of the camera on video image of which face is recognized is forwarding in the param5_val parameter. It shows name of the face was detected in the video image. This is indicated by the name of the parameter forwarded in the param5_name parameter.

For the DEL_MARKRECT value, the number of the camera number is forwarding in the param0_val parameter.

SLAVE_CHANGEDEvent is generated when Failover service becomes active. It consists of the following parameters:
  • old_slave_
id –
  • idID of the Computer object
where
  • from which cameras are
moved from.
  • transferred
  • new_slave_id
  • ID of the Computer object
where
  • to which cameras are are
moved to.
  • transferred
  • CAM<n1, n2, ...
> –
  • >where n1, n2,
etc.
  • and so on are IDs of cameras
moved
  • transferred to another Computer parent
Computer
  • object. For example, CAM<4,6,
7> – move
  • 7>transfer cameras with IDs 4, 6, 7
.
CREATE_OBJECT

Event triggers creation of an object. Parameters:

  • objtype<>
  • object type
, e.g.
  • , for example, objtype<PERSON> for user creation
.
  • parent_
id<> –
  • id<>identification number of the parent object
.
  • service_photo<>
  • when a user is created, the base64-encoded binary image of user photo can be put to this parameter. This is necessary for adding user photo immediately whet creating user in Access Manager
.