NET_DVR_TFS_ALARM

Structure about traffic law enforcement alarm.

Structure Definition

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;

Members

dwSize

Structure size.

dwRelativeTime

Time of UTC ± 00:00.

dwAbsTime

Local time.

dwIllegalType

Traffic violation type. Either byIllegalCode or illegalType of pXmlBuf will be valid when this node is set to 0xffffffff.

dwIllegalDuration

Duration of traffic violation, unit: second.

byMonitoringSiteID

Camera No. (intersection No., internal No.)

byDeviceID

Device No.

struDevInfo

Camera information, see details in the structure NET_VCA_DEV_INFO.

struSceneInfo

Scene information, see details in the structure NET_DVR_SCENE_INFO.

struBeginRecTime

Recording start time, see details in the structure NET_DVR_TIME_EX.

struEndRecTime

Recording end time, see details in the structure NET_DVR_TIME_EX.

struAIDInfo

Traffic incident information, see details in the structure NET_DVR_AID_INFO.

struPlateInfo

License plate information, see details in the structure NET_DVR_PLATE_INFO.

struVehicleInfo

Vehicle information, see details in the structure NET_DVR_VEHICLE_INFO.

dwPicNum

Number of pictures.

struPicInfo

Picture information. Up to 8 pictures are supported, see details in the structure NET_ITS_PICTURE_INFO.

bySpecificVehicleType

Vehicle type.

byLaneNo

Linked lane No.

wDevInfoIvmsChannelEx

Extension of device channel No., which is compatible with byIvmsChannel in NET_VCA_DEV_INFO. The maximum length is 255.

struTime

Current time of manual tracking and location, see details in the structure NET_DVR_TIME_V50.

dwSerialNo

Serial No.

byVehicleAttribute

Vehicle features: 0-normal vehicle, bit1-yellow label vehicle, bit2-vehicle with hazardous goods.

byPilotSafebelt

Whether the driver has buckled up: 0-unknown, 1-yes, 2-no.

byCopilotSafebelt

Whether the front passenger has buckled up: 0-unknown, 1-yes, 2-no.

byPilotSunVisor

Whether the driver's sun visor is enabled: 0-unknown, 1-no, 2-yes.

byCopilotSunVisor

Whether the front passenger's sun visor is enabled: 0-unknown, 1-no, 2-yes.

byPilotCall

Whether the driver is making a call: 0-unknown, 1-no, 2-yes.

byRes2

Reserved.

byIllegalCode

Extended illegal action code. This node is valid when is dwIllegalType is 0xffffffff.

wCountry

Country index No.

byRegion

Region index No.

byCrossLine

Whether the vehicle is parking on the lane line (for parallel parking): 0-unknown, 1-no, 2-yes.

byParkingSerialNO

Parking space No.

byCrossSpaces

Whether the vehicle is parking across multiple spaces (for parallel parking): 0-unknown, 1-no, 2-yes.

byAngledParking

Whether the vehicle inclined to park (for parallel parking): 0-unknown, 1-no, 2-yes.

byAlarmValidity

Alarm confidence ranging from 0 to 100.

byDoorsStatus

Vehicle door status: 0-closed, 1-open.

dwXmlLen

Length of alarm information in XML format.

pXmlBuf

Pointer of alarm information in XML format.

byRes3

Reserved.

byVehicleHeadTailStatus

Vehicle head or tail status: 0-reserved, 1-vehicle head, 2-vehicle tail

byRes[45]

Reserved.