提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
import com.iailab.netsdk.lib.enumeration.NET_EM_OVER_FLOW_STATE; |
|
6 |
|
|
7 |
/** |
|
8 |
* @author : 260611 |
|
9 |
* @description : 车道的信息 |
|
10 |
* @since : Created in 2022/03/10 10:12 |
|
11 |
*/ |
|
12 |
|
|
13 |
public class TRAFFIC_QUEUE_INFO extends NetSDKLib.SdkStructure { |
|
14 |
/** |
|
15 |
* 车道号 |
|
16 |
*/ |
|
17 |
public int nLane; |
|
18 |
/** |
|
19 |
* 排队长度 |
|
20 |
*/ |
|
21 |
public int nQueueLen; |
|
22 |
/** |
|
23 |
* 排队起始位置,精度1m |
|
24 |
*/ |
|
25 |
public int nQueueStartPos; |
|
26 |
/** |
|
27 |
* 检测区域内车辆数 |
|
28 |
*/ |
|
29 |
public int nQueueVehNum; |
|
30 |
/** |
|
31 |
* 车道中实时车辆平均速度,精度1km/h |
|
32 |
*/ |
|
33 |
public int nQueueVehSpeed; |
|
34 |
/** |
|
35 |
* 停止线最近一个线圈的占有时间,从开始占有算起,单位ms |
|
36 |
*/ |
|
37 |
public int nOccTime; |
|
38 |
/** |
|
39 |
* 溢出状态。例:如给当前路段设定允许排队长度阀值,实际排队长度超过阀值后就判定当前时刻该路段有溢出。{@link NET_EM_OVER_FLOW_STATE} |
|
40 |
*/ |
|
41 |
public int emOverflowState; |
|
42 |
/** |
|
43 |
* 保留字节 |
|
44 |
*/ |
|
45 |
public byte[] szReserverd = new byte[252]; |
|
46 |
|
|
47 |
@Override |
|
48 |
public String toString() { |
|
49 |
return "TRAFFIC_QUEUE_INFO{" + |
|
50 |
"nLane=" + nLane + |
|
51 |
", nQueueLen=" + nQueueLen + |
|
52 |
", nQueueStartPos=" + nQueueStartPos + |
|
53 |
", nQueueVehNum=" + nQueueVehNum + |
|
54 |
", nQueueVehSpeed=" + nQueueVehSpeed + |
|
55 |
", nOccTime=" + nOccTime + |
|
56 |
", emOverflowState=" + NET_EM_OVER_FLOW_STATE.getNoteByValue(emOverflowState) + |
|
57 |
'}'; |
|
58 |
} |
|
59 |
} |