提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author : 260611 |
|
8 |
* @description : 区域路口排队信息 |
|
9 |
* @since : Created in 2022/03/10 10:12 |
|
10 |
*/ |
|
11 |
|
|
12 |
public class TRAFFIC_FLOW_QUEUE_INFO extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
* 检测器状态 0-正常 1-故障 |
|
15 |
*/ |
|
16 |
public int nDecStatus; |
|
17 |
/** |
|
18 |
* 区域号 |
|
19 |
*/ |
|
20 |
public int nAreaNo; |
|
21 |
/** |
|
22 |
* 路口号 |
|
23 |
*/ |
|
24 |
public int nJunNo; |
|
25 |
/** |
|
26 |
* 方向号,北东南西分别为0/1/2/3 |
|
27 |
*/ |
|
28 |
public int nDirNo; |
|
29 |
/** |
|
30 |
* 进出口类型,进口道 0,出口道 1 |
|
31 |
*/ |
|
32 |
public int nLaneDirType; |
|
33 |
/** |
|
34 |
* 车道信息个数 |
|
35 |
*/ |
|
36 |
public int nQueueInfoNum; |
|
37 |
/** |
|
38 |
* 0~7车道的信息 |
|
39 |
*/ |
|
40 |
public TRAFFIC_QUEUE_INFO[] stuQueueInfo = (TRAFFIC_QUEUE_INFO[]) new TRAFFIC_QUEUE_INFO().toArray(32); |
|
41 |
/** |
|
42 |
* 保留字节 |
|
43 |
*/ |
|
44 |
public byte[] szReserverd = new byte[256]; |
|
45 |
|
|
46 |
@Override |
|
47 |
public String toString() { |
|
48 |
|
|
49 |
String stuQueueInfos = ""; |
|
50 |
if(nQueueInfoNum > 0){ |
|
51 |
stuQueueInfos += "stuQueueInfo[0] = "; |
|
52 |
stuQueueInfos += stuQueueInfo[0].toString(); |
|
53 |
} |
|
54 |
for(int i = 1; i < nQueueInfoNum; i ++){ |
|
55 |
stuQueueInfos += ",stuQueueInfo[" + i + "] = "; |
|
56 |
stuQueueInfos += stuQueueInfo[i].toString(); |
|
57 |
} |
|
58 |
return "TRAFFIC_FLOW_QUEUE_INFO{" + |
|
59 |
"nDecStatus=" + nDecStatus + |
|
60 |
", nAreaNo=" + nAreaNo + |
|
61 |
", nJunNo=" + nJunNo + |
|
62 |
", nDirNo=" + nDirNo + |
|
63 |
", nLaneDirType=" + nLaneDirType + |
|
64 |
", nQueueInfoNum=" + nQueueInfoNum + |
|
65 |
", stuQueueInfo=" + stuQueueInfos + |
|
66 |
'}'; |
|
67 |
} |
|
68 |
} |