NET_VCA_RULECFG_V42

Behavior analysis parameter structure.

Structure Definition

struct{
  DWORD                   dwSize;
  BYTE                    byPicProType;
  BYTE                    byUpLastAlarm;
  BYTE                    byPicRecordEnable;
  BYTE                    byRes1;
  NET_DVR_JPEGPARA        struPicParam;
  NET_VCA_ONE_RULE_V42    struRule[MAX_RULE_NUM_V42/*16*/];
  WORD                    wRelSnapChan[MAX_REL_SNAPCHAN_NUM/*3*/];
  BYTE                    byTrackEnable;
  BYTE                    byRes2;
  NET_DVR_PTZ_POSITION    struPTZPosition;
  WORD                    wTrackDuration;
  BYTE                    byRes[62];
}NET_VCA_RULECFG_V42,*LPNET_VCA_RULECFG_V42;

Members

dwSize

Structure size

byPicProType

Whether to process the alarm picture: 0-no, other values-yes

byUpLastAlarm

Whether to upload the latest alarm: 0-no, 1-yes

byPicRecordEnable

Whether to save picture: 0-no, 1-yes

byRes1

Reserved, set to 0.

struPictureParam

Picture size and quality, see details in the structure NET_DVR_JPEGPARA.

struRule

Rule array, each array refers to the rule configuration of one event type, see details in the structure NET_VCA_ONE_RULE_V42.

wRelSnapChan

Whether to link channel for capturing when alarm is triggered: 0-no, other values-yes.

byTrackEnable

Whether to enable tracking: 0-no, 1-yes

byRes2

Reserved, set to 0.

struPTZPosition

Scene information, see details in the structure NET_DVR_PTZ_POSITION.

wTrackDuration

Tracking duration, unit: s

byRes

Reserved, set to 0.