Versions Compared

Key

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

...

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:

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

Event

Description

"ACTIVATE"

Start.

"DEACTIVATE"

End.

Operator format to describe actions with the time zones is:

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

List of commands and parameters for the 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:

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

The 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:

...

.

...