Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page PLAYER Audio player  MAP Map Next page


The CORE object is the core of the system, a global static object that implements methods used to control the state and manage system objects of Axxon PSIM. The extended possibilities for working with the CORE object are given when using scripts in the JScript programming languagesee The Script object. Programming using the JScript language.

The CORE object sends events presented in the table.

Event

Description

DO_REACT

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

SET_MARKRECTsent when a face is recognized on the video image;

DEL_MARKRECTsent when a face disappears from the video image.

Other event parameters may also be present that can be monitored using the Debug window (see The Debug window). If the value of the is SET_MARKRECT, then the param5_val parameter contains the number of the camera on which 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 is forwarding in the param0_val parameter

SLAVE_CHANGEDEvent is generated when Failover service becomes active. It consists of the following parameters:
  • old_slave_idID of the Computer object from which cameras are transferred
  • new_slave_idID of the Computer object to which cameras are are transferred
  • CAM<n1, n2, ... >where n1, n2, and so on are IDs of cameras transferred to another Computer parent object. For example, CAM<4,6,7>—transfer cameras with IDs 4, 6, 7
CREATE_OBJECT

Event triggers creation of an object. Parameters:

  • objtype<>object type, for example, objtype<PERSON> for user creation
  • parent_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
  • No labels