Structure about traffic law enforcement alarm.
struct {
DWORD dwSize;
DWORD dwRelativeTime;
DWORD dwAbsTime;
DWORD dwIllegalType;
DWORD dwIllegalDuration;
BYTE byMonitoringSiteID[MONITORSITE_ID_LEN];
BYTE byDeviceID[DEVICE_ID_LEN];
NET_VCA_DEV_INFO struDevInfo;
NET_DVR_SCENE_INFO struSceneInfo;
NET_DVR_TIME_EX struBeginRecTime;
NET_DVR_TIME_EX struEndRecTime;
NET_DVR_AID_INFO struAIDInfo;
NET_DVR_PLATE_INFO struPlateInfo;
NET_DVR_VEHICLE_INFO struVehicleInfo;
DWORD dwPicNum;
NET_ITS_PICTURE_INFO struPicInfo[8];
BYTE bySpecificVehicleType;
BYTE byLaneNo;
WORD wDevInfoIvmsChannelEx;
NET_DVR_TIME_V50 struTime;
DWORD dwSerialNo;
BYTE byVehicleAttribute;
BYTE byPilotSafebelt;
BYTE byCopilotSafebelt;
BYTE byPilotSunVisor;
BYTE byCopilotSunVisor;
BYTE byPilotCall;
BYTE byRes2[2];
BYTE byIllegalCode[ILLEGAL_LEN/*32*/];
WORD wCountry;
BYTE byRegion;
BYTE byCrossLine;
BYTE byParkingSerialNO[SERIAL_NO_LEN/*16*/];
BYTE byCrossSpaces;
BYTE byAngledParking;
BYTE byAlarmValidity;
BYTE byDoorsStatus;
DWORD dwXmlLen;
#if (defined(OS_WINDOWS64) || defined(OS_POSIX64))//The pointer in Windows operating system and Linux operating system with 64-bit is 8 bytes
char *pXmlBuf;
#else
char *pXmlBuf;
BYTE byRes3[4];
#endif
BYTE byVehicleHeadTailStatus;
BYTE byRes[31];
}NET_DVR_TFS_ALARM,*LPNET_DVR_TFS_ALARM;
Structure size.
Time of UTC ± 00:00.
Local time.
Traffic violation type. Either byIllegalCode or illegalType of pXmlBuf will be valid when this node is set to 0xffffffff.
Duration of traffic violation, unit: second.
Camera No. (intersection No., internal No.)
Device No.
Camera information, see details in the structure NET_VCA_DEV_INFO.
Scene information, see details in the structure NET_DVR_SCENE_INFO.
Recording start time, see details in the structure NET_DVR_TIME_EX.
Recording end time, see details in the structure NET_DVR_TIME_EX.
Traffic incident information, see details in the structure NET_DVR_AID_INFO.
License plate information, see details in the structure NET_DVR_PLATE_INFO.
Vehicle information, see details in the structure NET_DVR_VEHICLE_INFO.
Number of pictures.
Picture information. Up to 8 pictures are supported, see details in the structure NET_ITS_PICTURE_INFO.
Vehicle type.
Linked lane No.
Extension of device channel No., which is compatible with byIvmsChannel in NET_VCA_DEV_INFO. The maximum length is 255.
Current time of manual tracking and location, see details in the structure NET_DVR_TIME_V50.
Serial No.
Vehicle features: 0-normal vehicle, bit1-yellow label vehicle, bit2-vehicle with hazardous goods.
Whether the driver has buckled up: 0-unknown, 1-yes, 2-no.
Whether the front passenger has buckled up: 0-unknown, 1-yes, 2-no.
Whether the driver's sun visor is enabled: 0-unknown, 1-no, 2-yes.
Whether the front passenger's sun visor is enabled: 0-unknown, 1-no, 2-yes.
Whether the driver is making a call: 0-unknown, 1-no, 2-yes.
Reserved.
Extended illegal action code. This node is valid when is dwIllegalType is 0xffffffff.
Country index No.
Region index No.
Whether the vehicle is parking on the lane line (for parallel parking): 0-unknown, 1-no, 2-yes.
Parking space No.
Whether the vehicle is parking across multiple spaces (for parallel parking): 0-unknown, 1-no, 2-yes.
Whether the vehicle inclined to park (for parallel parking): 0-unknown, 1-no, 2-yes.
Alarm confidence ranging from 0 to 100.
Vehicle door status: 0-closed, 1-open.
Length of alarm information in XML format.
Pointer of alarm information in XML format.
Reserved.
Vehicle head or tail status: 0-reserved, 1-vehicle head, 2-vehicle tail
Reserved.