提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 291189 |
|
7 |
* @description 流量统计记录 |
|
8 |
* @date 2022/05/07 10:07:05 |
|
9 |
*/ |
|
10 |
public class DH_TRAFFICFLOWSTAT extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 同DEV_EVENT_TRAFFIC_TRAFFICCAR_INFO.MachineGroup |
|
13 |
*/ |
|
14 |
public byte[] szMachineAddress = new byte[256]; |
|
15 |
/** |
|
16 |
* 同DEV_EVENT_TRAFFIC_TRAFFICCAR_INFO.MachineName |
|
17 |
*/ |
|
18 |
public byte[] szMachineName = new byte[256]; |
|
19 |
/** |
|
20 |
* 行驶方向"Approach"-上行,即车辆离设备部署点越来越近;"Leave"-下行,即车辆离设备部署点越来越远,第二和第三个参数分别代表上行和下行的两个地点,UTF-8编码 |
|
21 |
*/ |
|
22 |
public byte[] szDrivingDirection = new byte[3 * 32]; |
|
23 |
/** |
|
24 |
* 车道号 使用用户配置的车道编号 |
|
25 |
*/ |
|
26 |
public int nLane; |
|
27 |
/** |
|
28 |
* 统计时间,转换到UTC |
|
29 |
*/ |
|
30 |
public NET_TIME_EX UTC = new NET_TIME_EX(); |
|
31 |
/** |
|
32 |
* 统计周期,单位分钟 |
|
33 |
*/ |
|
34 |
public int nPeriod; |
|
35 |
/** |
|
36 |
* 通过车辆总数 |
|
37 |
*/ |
|
38 |
public int nVehicles; |
|
39 |
/** |
|
40 |
* 平均车速,单位km/h |
|
41 |
*/ |
|
42 |
public float fAverageSpeed; |
|
43 |
/** |
|
44 |
* 平均车长,单位米 |
|
45 |
*/ |
|
46 |
public float fAverageLength; |
|
47 |
/** |
|
48 |
* 时间占有率,即单位时间内通过断面的车辆所用时间的总和占单位时间的比例 |
|
49 |
*/ |
|
50 |
public float fTimeOccupyRatio; |
|
51 |
/** |
|
52 |
* 空间占有率,即按百分率计量的车辆长度总和除以时间间隔内车辆平均行驶距离 |
|
53 |
*/ |
|
54 |
public float fSpaceOccupyRatio; |
|
55 |
/** |
|
56 |
* 车头间距,相邻车辆之间的距离,单位米/辆 |
|
57 |
*/ |
|
58 |
public float fSpaceHeadway; |
|
59 |
/** |
|
60 |
* 车头时距,单位秒/辆 |
|
61 |
*/ |
|
62 |
public float fTimeHeadway; |
|
63 |
/** |
|
64 |
* 车辆密度,每公里的车辆数,单位辆/km |
|
65 |
*/ |
|
66 |
public float fDensity; |
|
67 |
/** |
|
68 |
* 超速车辆数 |
|
69 |
*/ |
|
70 |
public int nOverSpeedVehicles; |
|
71 |
/** |
|
72 |
* 低速车辆数 |
|
73 |
*/ |
|
74 |
public int nUnderSpeedVehicles; |
|
75 |
/** |
|
76 |
* 大车数量 车辆类型判断标准参见TrafficSnapshot配置表 |
|
77 |
*/ |
|
78 |
public int nLargeVehicles; |
|
79 |
/** |
|
80 |
* 中型车数量 |
|
81 |
*/ |
|
82 |
public int nMediumVehicles; |
|
83 |
/** |
|
84 |
* 小车数量 |
|
85 |
*/ |
|
86 |
public int nSmallVehicles; |
|
87 |
/** |
|
88 |
* 摩托车数量 |
|
89 |
*/ |
|
90 |
public int nMotoVehicles; |
|
91 |
/** |
|
92 |
* 超长车数量 |
|
93 |
*/ |
|
94 |
public int nLongVehicles; |
|
95 |
/** |
|
96 |
* 流量数据所属通道号 |
|
97 |
*/ |
|
98 |
public byte[] szChannel = new byte[64]; |
|
99 |
/** |
|
100 |
* 保留字段 |
|
101 |
*/ |
|
102 |
public byte[] zResvered = new byte[1024]; |
|
103 |
|
|
104 |
public DH_TRAFFICFLOWSTAT() { |
|
105 |
} |
|
106 |
} |