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

Previous page Examples with Map  Examples with Macros and Time zones Next page


Formats

Format of events procedure for the Backup archive object:

OnEvent("ARCH","_id_","_event_")

The operator format for describing the actions with the Edge storage:

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

Examples

Example for the Backup archive object. Send corresponding message to all cores of the system if archiving via the Backup archive 1 isn't performed.

OnEvent("ARCH","1","INACTIVE")
{
    NotifyEventGlobal ("ARCH","1","INACTIVE");
}

Example for the Edge storage object. Import archive from the edge storage of camera 45 Edge for the period from 11-01-19 16:00:55 to 11-01-19 17:00:55 on Macro 10.

OnEvent("MACRO","10","RUN")
{
    DoReact("IPSTORAGE", "1", "IMPORT", "cam<45>,datetime_from<11-01-19 16:00:55>,datetime_to<11-01-19 17:00:55>");
}


  • No labels