Behavior analysis parameter structure.
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;
Structure size
Whether to process the alarm picture: 0-no, other values-yes
Whether to upload the latest alarm: 0-no, 1-yes
Whether to save picture: 0-no, 1-yes
Reserved, set to 0.
Picture size and quality, see details in the structure NET_DVR_JPEGPARA.
Rule array, each array refers to the rule configuration of one event type, see details in the structure NET_VCA_ONE_RULE_V42.
Whether to link channel for capturing when alarm is triggered: 0-no, other values-yes.
Whether to enable tracking: 0-no, 1-yes
Reserved, set to 0.
Scene information, see details in the structure NET_DVR_PTZ_POSITION.
Tracking duration, unit: s
Reserved, set to 0.