NET_DVR_GUARD_CFG

Structure about the configuration parameters of ANPR arming schedule.

Structure Definition

struct{  
  DWORD                          dwSize;
  NET_DVR_TIME_DETECTION         struAlarmSched[MAX_DAYS/*7*/][MAX_TIMESEGMENT_V30/*8*/];
  NET_DVR_HANDLEEXCEPTION_V41    struHandleException;
  DWORD                          dwMaxRelRecordChanNum;
  DWORD                          dwRelRecordChanNum;
  DWORD                          dwRelRecordChan[MAX_CHANNUM_V30/*64*/];
  NET_DVR_TIME_DETECTION         struHolidayTime[MAX_TIMESEGMENT_V30/*8*/];
  BYTE                           byDirection;
  BYTE                           byRes[87];
}NET_DVR_GUARD_CFG,*LPNET_DVR_GUARD_CFG;

Members

dwSize

Structure size

struAlarmSched

Arming schedule, 7 days for a week, maximum 8 time periods for a day, see details in the structure NET_DVR_TIME_DETECTION.

struHandleException

Alarm linkage action, supports "center"-upload to center, see details in the structure NET_DVR_HANDLEEXCEPTION_V41.

dwMaxRelRecordChanNum

Maximum number of triggered video channels (read only) that can be supported.

dwRelRecordChanNum

Actual number of triggered video channels that can be supported, that is, the number of channels in the current group.

dwRelRecordChan

Alarm triggered video channel No., E.g., if the value of dwRecordChanNum is 5, the values of dwRelRecordChan is between 0 and 4.

struHolidayTime

Holiday arming schedule, see details in the structure NET_DVR_TIME_DETECTION.

byDirection

Triggered direction: 0-reserved, 1-all, 2-forward, 3-backward.

byRes

Reserved, set to 0.

Remarks

  • When the value of dwMaxRelRecordChanNum is larger than 64, the channels should be grouped, and maximum 64 channels can be in a group.

  • The video channel No. is linked with the group No., e.g., if the group No. is 0, the channel No. is between 1 and 64; if the group No. is 1, the channel No. is between 65 and 128; if 0xffffffff appears, it indicates that the following channel No. is invalid.