type alias PtzPreset

The saved PTZ positions in <PtzPreset>.

Properties

channelId: number

Zero-based channel, 0 to 63.

optional
maxPresetNum: number

How many presets the camera can save; written as 64.

optional
maxPresetPicNum: number

How many preset pictures the camera can save; written as 64.

optional
presetList: { id: number; name?: string; imageName?: string; 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"
; }[]

The presets: saved ones in a reply, the one to act on in a request.

Usage

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