NET_DVR_ACS_EVENT_INFO

Structure about Extended Access Control Event Details

Member

Data Type

Description

dwSize

DWORD

Structure size.

byCardNo

Array [BYTE]

Card No., 0-invalid. Some special cards' numbers are listed as the follows: "18446744073709551613"-supper card, "18446744073709551614"-duress card, "18446744073709551615"-invalid card. The maximum size is 32 bytes (the value of the macro definition "ACS_CARD_NO_LEN").

byCardType

BYTE

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

byAllowListNo

BYTE

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

byReportChannel

BYTE

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

byCardReaderKind

BYTE

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

dwCardReaderNo

DWORD

Authentication device No.: 0-invalid.

dwDoorNo

DWORD

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

dwVerifyNo

DWORD

Multiple authentication No.: 0-invalid.

dwAlarmInNo

DWORD

Alarm input No.: 0-invalid.

dwAlarmOutNo

DWORD

Alarm output No.: 0-invalid.

dwCaseSensorNo

DWORD

Event trigger No.

dwRs485No

DWORD

RS-485 channel No.: 0-invalid.

dwMultiCardGroupNo

DWORD

Group No.

wAccessChannel

WORD

Turnstile No.

byDeviceNo

BYTE

Device No.: 0-invalid.

byDistractControlNo

BYTE

Distributed controller No.: 0-invalid.

dwEmployeeNo

DWORD

Employee ID: 0-invalid.

wLocalControllerID

WORD

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

byInternetAccess

BYTE

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

byType

BYTE

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

byMACAddr

Array [BYTE]

Physical address, 0-invalid. The maximum size is 6 bytes (the value of the macro definition "MACADDR_LEN").

bySwipeCardType

BYTE

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

byMask

BYTE

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

dwSerialNo

DWORD

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

byChannelControllerID

BYTE

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

byChannelControllerLampID

BYTE

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

byChannelControllerIRAdaptorID

BYTE

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

byChannelControllerIREmitterID

BYTE

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

byHelmet

BYTE

Whether the person is wearing hard hat: 1-unknown, 2-no, 3-yes.

byHealthCode

BYTE

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

Array [BYTE]

Reserved, set to 0. The maximum size is 2 bytes.