Access controller working status structure.
struct{ DWORD dwSize; BYTE byDoorLockStatus[MAX_DOOR_NUM/*256*/]; BYTE byDoorStatus[MAX_DOOR_NUM/*256*/]; BYTE byMagneticStatus[MAX_DOOR_NUM/*256*/]; BYTE byCaseStatus[MAX_CASE_SENSOR_NUM/*8*/]; WORD wBatteryVoltage; BYTE byBatteryLowVoltage; BYTE byPowerSupplyStatus; BYTE byMultiDoorInterlockStatus; BYTE byAntiSneakStatus; BYTE byHostAntiDismantleStatus; BYTE byIndicatorLightStatus; BYTE byCardReaderOnlineStatus[MAX_CARD_READER_NUM/*512*/]; BYTE byCardReaderAntiDismantleStatus[MAX_CARD_READER_NUM/*512*/]; BYTE byCardReaderVerifyMode[MAX_CARD_READER_NUM/*512*/]; BYTE bySetupAlarmStatus[MAX_ALARMHOST_ALARMIN_NUM/*512*/]; BYTE byAlarmInStatus[MAX_ALARMHOST_ALARMIN_NUM/*512*/]; BYTE byAlarmOutStatus[MAX_ALARMHOST_ALARMOUT_NUM/*512*/]; DWORD dwCardNum; BYTE byFireAlarmStatus; BYTE byBatteryChargeStatus; BYTE byMasterChannelControllerStatus; BYTE bySlaveChannelControllerStatus; BYTE byAntiSneakServerStatus; BYTE byRes3[3]; DWORD dwAllowFaceNum; DWORD dwBlockFaceNum; BYTE byRes2[108]; }NET_DVR_ACS_WORK_STATUS_V50,*LPNET_DVR_ACS_WORK_STATUS_V50;
Structure size
Lock status (or elevator relay status), 0-closed, 1-open, 2-short circuit alarm, 3-open circuit alarm, 4-exception alarm
Door status (or elevator status): 1-sleepy, 2-open (for elevator: free status), 3-closed (for elevator: disabled status), 4-normal (for elevator: controlled status).
Magnet status: 0-closed, 1-open, 2-short circuit alarm, 3-open circuit alarm, 4-exception alarm.
Alarm input status: 0-no input, 1-with input.
Storage battery voltage, the actual value equals to the 10 multiples of wBatteryVoltage, unit: volt.
Whether the storage battery is in low voltage status: 0-no, 1-yes.
Device power supply status: 1-AC, 2-storage battery.
Multi-door interlocking status: 0-disabled, 1-enabled.
Anti-passing back status: 0-disabled, 1-enabled.
Controller tampering status: 0-disabled, 1-enabled.
Indicator status: 0-offline, 1-online.
Fingerprint and card reader status: 0-offline, 1-online.
Fingerprint and card reader tampering status: 0-offline, 1-online.
Authentication types: 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+fingerprint+card+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+fingerprint+password, 21-employee ID+face, 22-face/face+card, 23-fingerprint/face, 24-card/face/password.
Alarm input arming status: 0-disarmed, 1-armed
Alarm input status: 0-no alarm, 1-in alarm.
Alarm output status: 0-no alarm, 1-in alarm.
Number of added cards.
Fire alarm status: 0-normal, 1-short circuit alarm, 2-open circuit alarm.
Battery charging status: 0-invalid, 1-charging, 2-unchanged.
Online status of main lane controller online status: 0-invalid, 1-offline, 2-online.
Online status of sub-lane controller online status: 0-invalid, 1-offline, 2-online.
Anti-passing back server status: 0-invalid, 1-disabled, 2-normal, 3-disconnected.
Reserved, set to 0.
The number of face pictures in allowlist.
The number of face pictures in blocklist.
Reserved, set to 0