NET_DVR_AID_INFO

Structure about traffic incident information.

Structure Definition

struct{  
  BYTE                  byRuleID;    
  BYTE                  byRes1[3];     
  BYTE                  byRuleName[NAME_LEN/*32*/]; 
  DWORD                 dwAIDType;
  NET_DVR_DIRECTION     struDirect;
  BYTE                  bySpeedLimit;
  BYTE                  byCurrentSpeed;
  BYTE                  byVehicleEnterState;
  BYTE                  byState;
  BYTE                  byParkingID[16];
  DWORD                 dwAIDTypeEx;
  BYTE                  byRes2[16];
}NET_DVR_AID_INFO, *LPNET_DVR_AID_INFO;

Members

byRuleID

Rule No., which is the subscript of the rule configuration structure ranging from 0 to 16.

byRes1

Reserved.

byRuleName

Rule name.

dwAIDType

Traffic incident type, see details in the structure TRAFFIC_AID_TYPE.

struDirect

Area that the alarm occurs, see details in the structure NET_DVR_DIRECTION.

bySpeedLimit

Speed limit, unit: km/h, range: [0, 255].

byCurrentSpeed

Current speed, unit: km/h, range: [0, 255].

byVehicleEnterState

Vehicle entry and exit status: 0-invalid, 1-entered, 2-exited.

byState

0-uploading change, 1-uploading auto-switch, 2-uploading picture data captured by the current device by schedule. The value "2" is valid when dwAIDType is "PARKING" (0x02), and it is used for the platform to search for the parked vehicles that are not detected by the algorithm according to the picture sequence.

byParkingID

Parking space No.

dwAIDTypeEx

Extended traffic incident types, see details in the enumeration TRAFFIC_AID_TYPE_EX.

byRes2

Reserved.