Перейти в хранилище документации
Обратиться в техническую поддержку![]()
...
rules содержит действия, которые необходимо запускать в макрокоманде (см. Особенности настройки и выполнения действий).
action
| Code Block |
|---|
"action": {
"timeout_ms": 0,
"cancel_conditions": {},
"action": {
"goto_ptz": {
"telemetry": "hosts/Server1/DeviceIpint.71/TelemetryControl.0",
"preset_number": 1,
"speed": 1
}
}
} |
wait
| Code Block |
|---|
"wait": {
"timeout_ms": 30000,
"cancel_conditions": {
"0": {
"path": "/E:0/C:0",
"server_state": {
"observer": "Server1",
"subject": "Server2",
"state": "SS_ONLINE"
}
}
}, |
timeout
| Code Block |
|---|
"timeout": {
"timeout_ms": 5000
} |
check
| Code Block |
|---|
"check": {
"check": {
"camera": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0",
"archive": "hosts/Server1/MultimediaStorage.AntiqueWhite/MultimediaStorage",
"depth_ms": 60000,
"type": "CT_CHECK_RECORD_SAFETY"
},
"success_rules": {},
"failure_rules": {}
} |