type alias PtzControl

The PTZ command in <PtzControl>.

Properties

optional
channelId: number

Zero-based channel, 0 to 63.

optional
command:
"stop"
| "left"
| "right"
| "up"
| "down"
| "leftUp"
| "leftDown"
| "rightUp"
| "rightDown"
| "irisDec"
| "irisInc"
| "zoomDec"
| "zoomInc"
| "focusDec"
| "focusInc"
| "setPos"
| "delPos"
| "toPos"
| "auto"
| "highSpeed"
| "startPatrol"
| "stopPatrol"
| "clearPatrol"
| "enablePattern"
| "startPattern"
| "stopPattern"
| "startSavePattern"
| "stopSavePattern"
| "cleanPattern"
| "zoomPos"
| "focusPos"
| "zoomStepInc"
| "zoomStepDec"
| "focusStepInc"
| "focusStepDec"
| "setGrd"
| "toGrd"

What to do; a move keeps going until stop.

optional
patrolId: number

Patrol (cruise) id, 0 to 5.

optional
keyPos: number

Key position within a patrol, 0 to 15.

optional
presetId: number

Preset id, 0 to 63.

optional
patternId: number

Pattern id, 0 to 5.

optional
speed: number

Move speed, 0 to 100.

optional
dwellTime: number

Dwell time at a key position; at least 1.

Usage

import { type PtzControl } from "protocol/params/mod.ts";