Intrusion detection parameter structure
struct{ DWORD dwSize; BYTE byEnable; BYTE byEnableDualVca; BYTE byEnableHumanMisinfoFilter; BYTE byEnableVehicleMisinfoFilter; NET_VCA_INTRUSION struIntrusion[MAX_INTRUSIONREGION_NUM/*8*/]; NET_DVR_SCHEDTIME struAlarmSched[MAX_DAYS/*7*/][MAX_TIMESEGMENT_V30/*8*/]; NET_DVR_HANDLEEXCEPTION_V41 struHandleException; DWORD dwMaxRelRecordChanNum; DWORD dwRelRecordChanNum; DWORD byRelRecordChan[MAX_CHANNUM_V30/*64*/]; NET_DVR_SCHEDTIME struHolidayTime[MAX_TIMESEGMENT_V30/*8*/]; BYTE byRes2[100]; }NET_VCA_FIELDDETECION,*LPNET_VCA_FIELDDETECION;
Structure size
Whether to enable intrusion detection: 0-no, 1-yes
Whether to enable dual-VCA: 0-no, 1-yes
Whether to enable preventing false human body alarm: 0-no, 1-yes
Whether to enable preventing false vehicle alarm filter: 0-no, 1-yes
Region parameters, refer to the structure NET_VCA_INTRUSION for details.
Arming schedule, refer to the structure NET_DVR_SCHEDTIME for details.
Alarm linkage types, refer to the structure NET_DVR_HANDLEEXCEPTION_V41 for details.
Maximum number of alarm triggered video channels (read-only).
Actual number of alarm triggered video channels.
Alarm triggered channel No., which is between 0 and the value of dwRelRecordChanNum. For example, if the dwRelRecordChan is 5, the available channel No. that can trigger alarm is between dwRelRecordChan[0] and dwRelRecordChan[4].
Reserved, set to 0.
When the value of dwMaxRelRecordChanNum is larger than 64, the channels will be divided in to groups and each group will be numbered (dwGroup) in the structure NET_DVR_CHANNEL_GROUP, and up to 64 channels can be contained in a group.
The video channel No. links with the group No., e.g., when the group No. is 0, the No. of channels in the group is between 1 and 64; when the group No. is 1, the No. of channels in the group is between 65 and 128, and so on. If the group No. is 0xffffffff, it indicates that the No. of channels in current group and the following channels is invalid.
If the false alarm prevention is enabled, the false alarm will be filtered without uploading, but the false alarm will still be locally stored.