The IPSTORAGE object corresponds to the Edge storage system object.
The operator format for describing the actions with the Failover is:
DoReact("IPSTORAGE","_id_","_command_" [,"_parameters_"]); |
The list of parameters for the IPSTORAGE object is presented in the table below.
Command – description | Parameter | Parameter description | Comment |
IMPORT – импорт недостающей части архива за заданный период | cam<> | Cemera ID | The command can be applied if automatic import for the Edge storage was not successful for some reason. |
datetime_from<> | Date and time to start import from in the following format: <DD-MM-YY HH:MM:SS> | ||
datetime_to<> | Date and time to end import on in the following format: <DD-MM-YY HH:MM:SS> |
Example.
Import archive from the camera 45 Edge storage for the period from 11-01-19 16:00:55 to 11-01-19 17:00:55 by 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>"); } |