NET_DVR_ACS_EVENT_DETAIL

Access control event details structure.

Structure Definition

struct{
  DWORD          dwSize;
  BYTE           byCardNo[ACS_CARD_NO_LEN/*32*/];
  BYTE           byCardType;
  BYTE           byAllowListNo;
  BYTE           byReportChannel;
  BYTE           byCardReaderKind;
  DWORD          dwCardReaderNo;
  DWORD          dwDoorNo;
  DWORD          dwVerifyNo;
  DWORD          dwAlarmInNo;
  DWORD          dwAlarmOutNo;
  DWORD          dwCaseSensorNo;
  DWORD          dwRs485No;
  DWORD          dwMultiCardGroupNo;
  WORD           wAccessChannel;
  BYTE           byDeviceNo;
  BYTE           byDistractControlNo;
  DWORD          dwEmployeeNo;
  WORD           wLocalControllerID;
  BYTE           byInternetAccess;
  BYTE           byType;
  BYTE           byMACAddr[MACADDR_LEN/*6*/];
  BYTE           bySwipeCardType;
  BYTE           byEventAttribute;
  DWORD          dwSerialNo;
  BYTE           byChannelControllerID;
  BYTE           byChannelControllerLampID;
  BYTE           byChannelControllerIRAdaptorID;
  BYTE           byChannelControllerIREmitterID;
  DWORD          dwRecordChannelNum;
  char           *pRecordChannelData;
  BYTE           byUserType;
  BYTE           byCurrentVerifyMode;
  BYTE           byAttendanceStatus;
  BYTE           byStatusValue;
  BYTE           byEmployeeNo[NET_SDK_EMPLOYEE_NO_LEN/*32*/];
  BYTE           byRes1; 
  BYTE           byMask;
  BYTE           byThermometryUnit;
  BYTE           byIsAbnomalTemperature;
  float          fCurrTemperature; 
  NET_VCA_POINT  struRegionCoordinates;
  BYTE       byHealthCode;
  BYTE       byRes[47];
}NET_DVR_ACS_EVENT_DETAIL, *LPNET_DVR_ACS_EVENT_DETAIL;

Members

dwSize

Structure size.

byCardNo

Card No.: 0-invalid.

byCardType

Card types: 0-invalid, 1-normal card, 2-disabled card, 3-blocklist card, 4-patrol card, 5-duress card, 6-super card, 7-visitor card.

byAllowListNo

Allowlist No., which is between 1 and 8, but if the value is 0, it is invalid.

byReportChannel

Event uploading channel types: 0-invalid, 1-upload in arming mode, 2-upload by central group 1, 3-upload by central group 2.

byCardReaderKind

Authentication device types: 0-invalid, 1-IC card reader, 2-ID card reader, 3-QR code scanner, 4-fingerprint module.

dwCardReaderNo

Authentication device No.: 0-invalid.

dwDoorNo

Door or floor No.: 0-invalid. For Turnstile (swing barrier), door No.1 refers to entrance, and door No.2 refers to exist.

dwVerifyNo

Multiple authentication No.: 0-invalid

dwAlarmInNo

Alarm input No.: 0-invalid

dwAlarmOutNo

Alarm output No.: 0-invalid

dwCaseSensorNo

Event trigger No.

dwRs485No

RS485 channel No.: 0-invalid.

dwMultiCardGroupNo

Group No.

wAccessChannel

Turnstile No.

byDeviceNo

Device No.: 0-invalid.

byDistractControlNo

Distributed controller No.: 0-invalid.

dwEmployeeNo

Employee No.: 0-invalid.

wLocalControllerID

Distributed access controller No.: 0-access controller, 0 to 64: distributed access controller.

byInternetAccess

Network interface No.: 1-upstream network interface No.1, 2-upstream network interface No.2, 3-downstream network interface No.1.

byType

Zone types: 0-instant alarm zone, 1-24-hour alarm zone, 2-delayed zone, 3-internal zone, 4-key zone, 5-fire alarm zone, 6-perimeter protection, 7-24-hour silent alarm zone, 8-24-hour auxiliary zone, 9-24-hour shock alarm zone, 10-emergency door open alarm zone, 11-emergency door closed alarm zone, off-none

byMACAddr

Physical address, 0-invalid.

bySwipeCardType

Card swiping type: 0-invalid, 1-QR code.

byEventAttribute

Event attribute: 0-undefined, 1-valid authentication, 2-other.

dwSerialNo

Event serial No.: 0-invalid, which is used to judge whether the event loss occurred.

byChannelControllerID

Lane controller No.: 0-invalid, 1-main lane controller, 2-sub-lane controller.

byChannelControllerLampID

Light board No. of lane controller, which is between 1 and 255, 0-invalid

byChannelControllerIRAdaptorID

IR adaptor No. of lane controller, which is between 1 and 255, 0-invalid.

byChannelControllerIREmitterID

Active infrared intrusion detector No. of lane controller, which is between 1 and 255, 0-invalid.

dwRecordChannelNum

Number of recording channels.

pRecordChannelData

Recording channel, the size depends on dwRecordChannelNum.

byUserType

Person type: 0-invalid, 1-resident, 2-visitor, 3-person in blocklist, 4-administrator.

byCurrentVerifyMode

Authentication mode: 0-invalid, 1-sleepy, 2-card+password, 3-card, 4-card or password, 5-fingerprint, 6-fingerprint+password, 7-fingerprint or card, 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 No.+password, 16-fingerprint or password, 17-employee No.+fingerprint, 18-employee No.+fingerprint+password, 19-face+fingerprint+card, 20-face+password+fingerprint, 21-employee No.+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.

byAttendanceStatus

Attendance status: 0-undefined, 1-check in, 2-check out, 3-break out, 4-break in, 5-overtime in, 6-overtime out.

byStatusValue

Attendance status value.

byEmployeeNo

Employee No. (person ID). Both byEmployeeNo and dwEmployeeNo should be transferred by the device. The byEmployeeNo will be parsed by the upper-level platform or client first. If the byEmployeeNo is NULL, the dwEmployeeNo will be parsed.

byRes1

Reserved.

byMask

Whether the person is wearing mask or not: 0-reserved, 1-unknown, 2-not wearing mask, 3-wearing mask.

byThermometryUnit

Temperature unit: 0-Celsius (default), 1-Fahrenheit, 2-Kelvin.

byIsAbnomalTemperature

Whether the face temperature is abnormal: 1-yes, 0-no.

fCurrTemperature

Face temperature which is accurate to one decimal place.

struRegionCoordinates

Face temperature's coordinates, see details in the structure NET_VCA_POINT.

byHealthCode

Health code status: 0 (no request), 1 (no health code), 2 (green QR code), 3 (yellow QR code), 4 (red QR code), 5 (no such person), 6 (other error, e.g., searching failed due to API exception), 7 (searching for the health code timed out).

byRes

Reserved, set to 0.