Перейти в хранилище документации
Обратиться в техническую поддержку
...
detector
Code Block |
---|
"detector": { "event_type": "sitDown", "source_ap": "hosts/Server1/HumanBoneDetector.1/EventSupplier", "state": "BEGAN", "details": [] } |
timezone
Code Block |
---|
"timezone": { "timezone_id": "6fb68cf4-ca6a-46a1-b2e3-ab4cfdaa0444", "boundary_case": "TB_BEGINING" } |
alert
Code Block |
---|
"alert": { "zone_ap": "hosts/Server1/DeviceIpint.10/SourceEndpoint.video:0:0", "alert_case": "AC_ALERT_DANGEROUS" } |
device
Code Block |
---|
"device": { "device": "hosts/Server1/DeviceIpint.69", "state": "IPDS_CONNECTED", "threshold": 0 } |
archive_write
Code Block |
---|
"archive_write": { "camera": "hosts/Server1/DeviceIpint.28/SourceEndpoint.video:0:0", "state": "ON" } |
Code Block |
---|
"relay": { "relay": "hosts/Server1/DeviceIpint.10/StateControl.relay0:0", "state": "ON" } |
Code Block |
---|
"volume_health": { "storage": "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage", "volume": "", "health": "VH_CORRUPTED" } |
server_state
Info | ||
---|---|---|
| ||
observer - с которого запускается макрокоманда; subject - сервер, с которого должен придти статус.
|
text
Info | ||
---|---|---|
| ||
Должен быть создан Источник событий (см. Объект Источник событий).
|
arm
Info | ||
---|---|---|
| ||
Постановка камеры на охрану.
|
recognition
Code Block |
---|
"recognition": { "camera": "hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0", "list": "797703ea-6917-4341-888b-b6f0579f5d91", "type": "DT_Plate", "objects": [ "53502573-a985-4198-a5b6-69db476cc755" ] } |
statistics
Code Block |
---|
"statistics": { "point": "archive_usage", "item": "hosts/Server1/MultimediaStorage.AntiqueWhite/MultimediaStorage", "value": 100, "delta": 0, "trend": "ET_RISING" } |
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": {}
} |