NET_DVR_SINGLE_PLAN_SEGMENT

Parameter structure of a schedule

Structure Definition

struct{
  BYTE                 byEnable; 
  BYTE                 byDoorStatus;
  BYTE                 byVerifyMode;
  BYTE                 byRes[5];
  NET_DVR_TIME_SEGMENT struTimeSegment;
}NET_DVR_SINGLE_PLAN_SEGMENT, *LPNET_DVR_SINGLE_PLAN_SEGMENT;

Members

byEnable

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

byDoorStatus

Door status: 0-invalid, 1-remain open (access without authentication), 2-remain closed (access is not allowed), 3-normal (access by authentication).

byVerifyMode

Authentication mode: 0-invalid, 1-card, 2-card+password, 3-password, 4-card or password, 5-fingerprint, 6-fingerprint+password, 7-fingerprint or password, 8-fingerprint+card, 9-fingerprint+card+password, 10-face or fingerprint or card or password, 11-face+fingerprint, 12-face+password, 13-face+card, 14-face, 15-employee ID+password, 16-fingerprint or password, 17-employee ID+fingerprint, 18-employee ID+fingerprint+password, 19-face+fingerprint+card, 20-face+password+fingerprint, 21-employee ID+face, 22-face or face+card, 23-fingerprint or face, 24-card or face or password, 25-card or face, 26-card or face or fingerprint, 27-card or fingerprint or password.

byRes

Reserved, set to 0.

struTimeSegment

Time period parameters, see NET_DVR_TIME_SEGMENT for details.