Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The TIME_ZONE object corresponds to the Time zones system object.

The TIME_ZONE object sends events presented in the table.  Procedure is started when the corresponding event appears.

Format of events procedure for the Time zones object:

OnEvent("TIME_ZONE","_id_","_event_")

Event

Description

"ACTIVATE"

Start.

"DEACTIVATE"

End.

Operator format to describe actions with the time zones is:

DoReact("MACRO","_id_","_command_" [,"_parameters_"]);

List of commands and parameters for the TIME_ZONE object is presented in the following table:

Commandcommand description

Parameters

Description

"SETUP" – set parameters for time zone

name<>

Object name.

flags<>

Flags.

Properties of the TIME_ZONE object are shown in the table.

Properties of the TIME_ZONE object

Description of properties

ID<>

Object ID.

PARENT_ID<>

Parent object ID.

Check function of the TIME_ZONE object state:

CheckState ("TIME_ZONE","number","state")

The TIME_ZONE object can be in the following states:

State of the TIME_ZONE object

Description

"ACTIVATE"

Active.

"INACTIVE"

Inactive.

 

Examples of using events and reactions of the TIME_ZONE object:

  1. Display video image from the camera №1 on the monitor while activation of the first time zone.

    OnEvent("TIME_ZONE","1","ACTIVATE")
    {
        DoReact ("CAM", "1", "ACTIVATE", "MONITOR<1>");
    }
  • No labels