NET_DVR_FIREDETECTION_ALARM

Structure About Fire and Smoke Detection Alarm Information

Member

Data Type

Description

dwSize

DWORD

Structure size.

dwRelativeTime

DWORD

Time of UTC ± 00:00, which is valid only when the value of byTimeDiffFlag is "1".

dwAbsTime

DWORD

Local time.

struDevInfo

NET_VCA_DEV_INFO

Front-end device information

wPanPos

WORD

Panning parameter (horizontal, actual value × 100).

wTiltPos

WORD

Tilting parameter (vertical, (actual value + 360) × 100).

wZoomPos

WORD

Zooming parameter (actual value × 100).

byPicTransType

BYTE

Picture transmission format: 0-binary data, 1-URL.

byRes1

BYTE

Reserved, set to 0.

dwPicDataLen

DWORD

Size of thermal alarm picture.

pBuffer

BYTE*

Buffer pointer for saving thermal picture data.

struRect

NET_VCA_RECT

Coordinates of fire source frame

struPoint

NET_VCA_POINT

Coordinates of the maximum temperature point in the fire source frame

wFireMaxTemperature

WORD

Maximum temperature, range: [300, 400], unit: °C.

wTargetDistance

WORD

Target range: [100, 10000], unit: m.

byStrategyType

BYTE

Strategy type: 0-any alarm, 1-fire source+smoke detection alarm, 2-multiple systems alarm, 3-specified fire source detection alarm, 4-specified smoke detection alarm.

byAlarmSubType

BYTE

Alarm minor type: 0-fire source detection alarm, 1-smoke detection alarm, 2-fire source+smoke detection alarm.

byPTZPosExEnable

BYTE

Whether to enable PTZ coordinates extension: 0-no (the PTZ position is based on wPanPos, wTiltPos, wZoomPos), 1-yes (the PTZ position is based on struPtzPosEx).

byRes2

BYTE

Reserved, set to 0.

struPtzPosEx

NET_PTZ_INFO

Extended PTZ coordinates, which supports correcting to three decimal places.

dwVisiblePicLen

DWOR

Size of visible light picture.

pVisiblePicBuf

BYTE*

Buffer pointer for saving visible light picture data.

pSmokeBuf

BYTE*

Pointer of smoke detection alarm information, which points to the structure NET_DVR_SMOKEDETECTION_ALARM. It is valid when the byAlarmSubType is "1" and "2".

wDevInfoIvmsChannelEx

WORD

Extended the parameter byIvmsChannel in NET_VCA_DEV_INFO, its value range is extended.

byRes3

BYTE

Reserved, set to 0.

byFireScanWaitMode

BYTE

Fire source scanning mode: 0-auto, 1-manual.

dwVisibleChannel

DWORD

No. of visible light channel.

byTimeDiffFlag

BYTE

Whether the time difference parameter is valid: 0-invalid, 1-valid.

cTimeDifferenceH

signed char

Time difference between time and UTC time, unit: hour, the value is between -12 and +14 ("+" indicates the east time zone), it is valid when byTimeDiffFlag is "1".

cTimeDifferenceM

signed char

Time difference between time and UTC time, unit: minute, the value is -30, +30, or +45 ("+" indicates the east time zone), it is valid when byTimeDiffFlag is "1".

byRes

Array of BYTE

Reserved, set to 0.