Access control event details structure.
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;
Structure size.
Card No.: 0-invalid.
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.
Allowlist No., which is between 1 and 8, but if the value is 0, it is invalid.
Event uploading channel types: 0-invalid, 1-upload in arming mode, 2-upload by central group 1, 3-upload by central group 2.
Authentication device types: 0-invalid, 1-IC card reader, 2-ID card reader, 3-QR code scanner, 4-fingerprint module.
Authentication device No.: 0-invalid.
Door or floor No.: 0-invalid. For Turnstile (swing barrier), door No.1 refers to entrance, and door No.2 refers to exist.
Multiple authentication No.: 0-invalid
Alarm input No.: 0-invalid
Alarm output No.: 0-invalid
Event trigger No.
RS485 channel No.: 0-invalid.
Group No.
Turnstile No.
Device No.: 0-invalid.
Distributed controller No.: 0-invalid.
Employee No.: 0-invalid.
Distributed access controller No.: 0-access controller, 0 to 64: distributed access controller.
Network interface No.: 1-upstream network interface No.1, 2-upstream network interface No.2, 3-downstream network interface No.1.
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
Physical address, 0-invalid.
Card swiping type: 0-invalid, 1-QR code.
Event attribute: 0-undefined, 1-valid authentication, 2-other.
Event serial No.: 0-invalid, which is used to judge whether the event loss occurred.
Lane controller No.: 0-invalid, 1-main lane controller, 2-sub-lane controller.
Light board No. of lane controller, which is between 1 and 255, 0-invalid
IR adaptor No. of lane controller, which is between 1 and 255, 0-invalid.
Active infrared intrusion detector No. of lane controller, which is between 1 and 255, 0-invalid.
Number of recording channels.
Recording channel, the size depends on dwRecordChannelNum.
Person type: 0-invalid, 1-resident, 2-visitor, 3-person in blocklist, 4-administrator.
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.
Attendance status: 0-undefined, 1-check in, 2-check out, 3-break out, 4-break in, 5-overtime in, 6-overtime out.
Attendance status value.
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.
Reserved.
Whether the person is wearing mask or not: 0-reserved, 1-unknown, 2-not wearing mask, 3-wearing mask.
Temperature unit: 0-Celsius (default), 1-Fahrenheit, 2-Kelvin.
Whether the face temperature is abnormal: 1-yes, 0-no.
Face temperature which is accurate to one decimal place.
Face temperature's coordinates, see details in the structure NET_VCA_POINT.
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).
Reserved, set to 0.