NET_DVR_ACS_WORK_STATUS_V50

Access controller working status structure.

Structure Definition

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;

Members

dwSize

Structure size

byDoorLockStatus

Lock status (or elevator relay status), 0-closed, 1-open, 2-short circuit alarm, 3-open circuit alarm, 4-exception alarm

byDoorStatus

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).

byMagneticStatus

Magnet status: 0-closed, 1-open, 2-short circuit alarm, 3-open circuit alarm, 4-exception alarm.

byCaseStatus

Alarm input status: 0-no input, 1-with input.

wBatteryVoltage

Storage battery voltage, the actual value equals to the 10 multiples of wBatteryVoltage, unit: volt.

byBatteryLowVoltage

Whether the storage battery is in low voltage status: 0-no, 1-yes.

byPowerSupplyStatus

Device power supply status: 1-AC, 2-storage battery.

byMultiDoorInterlockStatus

Multi-door interlocking status: 0-disabled, 1-enabled.

byAntiSneakStatus

Anti-passing back status: 0-disabled, 1-enabled.

byHostAntiDismantleStatus

Controller tampering status: 0-disabled, 1-enabled.

byIndicatorLightStatus

Indicator status: 0-offline, 1-online.

byCardReaderOnlineStatus

Fingerprint and card reader status: 0-offline, 1-online.

byCardReaderAntiDismantleStatus

Fingerprint and card reader tampering status: 0-offline, 1-online.

byCardReaderVerifyMode

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.

bySetupAlarmStatus

Alarm input arming status: 0-disarmed, 1-armed

byAlarmInStatus

Alarm input status: 0-no alarm, 1-in alarm.

byAlarmOutStatus

Alarm output status: 0-no alarm, 1-in alarm.

dwCardNum

Number of added cards.

byFireAlarmStatus

Fire alarm status: 0-normal, 1-short circuit alarm, 2-open circuit alarm.

byBatteryChargeStatus

Battery charging status: 0-invalid, 1-charging, 2-unchanged.

byMasterChannelControllerStatus

Online status of main lane controller online status: 0-invalid, 1-offline, 2-online.

bySlaveChannelControllerStatus

Online status of sub-lane controller online status: 0-invalid, 1-offline, 2-online.

byAntiSneakServerStatus

Anti-passing back server status: 0-invalid, 1-disabled, 2-normal, 3-disconnected.

byRes3

Reserved, set to 0.

dwAllowFaceNum

The number of face pictures in allowlist.

wBlockFaceNum

The number of face pictures in blocklist.

byRes2

Reserved, set to 0