NET_DVR_VEHICLE_CONTROL_ALARM

Structure about the information of blocklist and allowlist ANPR alarm.

Structure Definition

struct{
  DWORD               dwSize;
  BYTE                byListType;
  BYTE                byPlateType;
  BYTE                byPlateColor;
  BYTE                byRes1;
  char                sLicense[MAX_LICENSE_LEN/*16*/];
  char                sCardNo[MAX_CARDNO_LEN/*48*/];
  NET_DVR_TIME_V30    struAlarmTime;
  DWORD               dwChannel;
  DWORD               dwPicDataLen;
  BYTE                byPicType;
  BYTE                byPicTransType
  BYTE                byRes3[2];
  char                *pPicData;
  BYTE                byRes2[48];
}NET_DVR_VEHICLE_CONTROL_ALARM,*LPNET_DVR_VEHICLE_CONTROL_ALARM;

Members

dwSize

Structure size.

byListType

List type: 0-allowlist, 1-blocklist, 2-temporary list.

byPlateType

License plate type, seed details in VCA_PLATE_TYPE.

byPlateColor

License plate color, see details in VCA_PLATE_COLOR.

byRes1

Reserved, set to 0.

sLicense

License plate number

sCardNo

Card No.

struAlarmTime

Alarm time, see details in the structure NET_DVR_TIME_V30.

dwChannel

Device channel No.

dwPicDataLen

Picture data size, 0-no picture, non-0-with picture data.

byPicType

Picture format: 0-JPEG, 1-BMP, 2-PNG

byPicTransType

Picture transmission method: 0-binary, 1-url

byRes3

Reserved, set to 0.

pPicData

Buffer of picture data in JPEG format.

byRes2

Reserved, set to 0.