houzhongjian
2024-11-06 7412dd652c0ac48c5a17b5d9b61d5d2a0f686137
提交 | 用户 | 时间
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_STAT_EX_INFO extends NetSDKLib.SdkStructure {
13     /**
14      * 区域号
15      */
16     public int nAreaNo;
17     /**
18      * 路口号
19      */
20     public int nJunNo;
21     /**
22      * 方向号,北东南西分别为0/1/2/3
23      */
24     public int nDirNo;
25     /**
26      * 检测断面号
27      */
28     public int nSecNo;
29     /**
30      * 0~7车道的车道统计信息
31      */
32     public TRAFFIC_FLOW_LANE_INFO[] stuLaneInfo = (TRAFFIC_FLOW_LANE_INFO[]) new TRAFFIC_FLOW_LANE_INFO().toArray(32);
33     /**
34      * 车道统计信息个数
35      */
36     public int nLaneInfoNum;
37     /**
38      * 保留字节
39      */
40     public byte[] szReserverd = new byte[252];
41
42     @Override
43     public String toString() {
44         String stuLaneInfos = "";
45         if(nLaneInfoNum > 0){
46             stuLaneInfos += "stuLaneInfo[0] = ";
47             stuLaneInfos += stuLaneInfo[0].toString();
48         }
49         for(int i = 1; i < nLaneInfoNum; i ++){
50             stuLaneInfos += ",stuLaneInfo[" + i + "] = ";
51             stuLaneInfos += stuLaneInfo[i].toString();
52         }
53         return "TRAFFIC_FLOW_STAT_EX_INFO{" +
54                 "nAreaNo=" + nAreaNo +
55                 ", nJunNo=" + nJunNo +
56                 ", nDirNo=" + nDirNo +
57                 ", nSecNo=" + nSecNo +
58                 ", stuLaneInfo=" + stuLaneInfos +
59                 ", nLaneInfoNum=" + nLaneInfoNum +
60                 '}';
61     }
62 }