Versions Compared

Key

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

...

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


EventEvent description
ACTIVATE_LEFTOperator left-clicked the event cell in the Operator protocol
ACTIVATE_RIGHTOperator right-clicked the event cell in the Operator protocol
POSTPONE_PRESSEDOperator clicked Delay
CREATE_REPORTOperator clicked the Create button on the Create report tab. The user_id<> parameter contains the user ID. The initial_date<> and final_date<> parameters specify the initial and final dates selected in the interface
.


The operator format for description of actions with the Operator protocol object:

...

The list of commands and parameters for the OPERATORPROTOCOL object is given in the table.

Command – its description

Parameters

Parameter description

DEL_ALARM  

objtype<>

Object type (e.g., CAM, GRELE, etc.)

objid<>

Object ID

options<>

Possible values:

first – delete first alarm

last – delete last alarm

all or empty – delete all alarms

HIDE_BUTTON – hide buttons used to assign status to event

.


    

button<>

Names of buttons separated by comma:

alarm – Alarm situation

suspicious – Suspicious situation

false – False triggering

Example of setting parameter:

button<alarm,suspicious,false>

hide<>

1 – hide buttons listed in the button parameter

0 – show buttons listed in the button parameter

objtype<>

Object type

objaction<>

Event type

objid<>

Object ID

Example 1. Delete the first alarm on Camera 3 in the Operator protocol window on Macro 2.

...