Traffic statistics information structure.
struct{
BYTE byStart;
BYTE byCMD;
BYTE byRes[2];
WORD wDeviceID;
WORD wDataLen;
BYTE byTotalLaneNum;
BYTE byRes2[3];
DWORD dwDeviceIDEx;
BYTE byRes1[8];
NET_DVR_TIME_V30 struStartTime;
DWORD dwSamplePeriod;
NET_DVR_TPS_LANE_PARAM struLaneParam[MAX_TPS_RULE/*8*/];
}NET_DVR_TPS_STATISTICS_PARAM, *LPNET_DVR_TPS_STATISTICS_PARAM;
Start code.
Command No.: 01-enter, 02-exit, 03-congestion (only the byLaneState and byQueueLen are valid).
Reserved.
Device ID.
Data size.
Number of valid lanes.
Reserved.
Extension of the device ID.
Reserved.
Start time of statistics, see details in the structure NET_DVR_TIME_V30.
Statistics time period, unit: second.
Traffic statistics information of each lane, see details in the structure NET_DVR_TPS_LANE_PARAM.