提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
|
|
6 |
import java.io.UnsupportedEncodingException; |
|
7 |
|
|
8 |
/** |
|
9 |
* @author : 260611 |
|
10 |
* @description : 车辆流量统计车辆行驶方向信息 |
|
11 |
* @since : Created in 2022/03/10 10:12 |
|
12 |
*/ |
|
13 |
|
|
14 |
public class NET_TRAFFIC_FLOWSTAT_INFO_DIR extends NetSDKLib.SdkStructure { |
|
15 |
/** |
|
16 |
* 行驶方向 |
|
17 |
*/ |
|
18 |
public int emDrivingDir; |
|
19 |
/** |
|
20 |
* 上行地点 |
|
21 |
*/ |
|
22 |
public byte[] szUpGoing = new byte[16]; |
|
23 |
/** |
|
24 |
* 下行地点 |
|
25 |
*/ |
|
26 |
public byte[] szDownGoing = new byte[16]; |
|
27 |
/** |
|
28 |
* 保留字节 |
|
29 |
*/ |
|
30 |
public byte[] reserved = new byte[32]; |
|
31 |
|
|
32 |
@Override |
|
33 |
public String toString() { |
|
34 |
try { |
|
35 |
return "NET_TRAFFIC_FLOWSTAT_INFO_DIR{" + |
|
36 |
"emDrivingDir=" + emDrivingDir + |
|
37 |
", szUpGoing UTF-8=" + new String(szUpGoing,"UTF-8").trim() + |
|
38 |
", szUpGoing GBK=" + new String(szUpGoing,"GBK").trim() + |
|
39 |
", szDownGoing UTF-8=" + new String(szDownGoing,"UTF-8").trim() + |
|
40 |
", szDownGoing GBK=" + new String(szDownGoing,"GBK").trim() + |
|
41 |
'}'; |
|
42 |
} catch (UnsupportedEncodingException e) { |
|
43 |
e.printStackTrace(); |
|
44 |
} |
|
45 |
return null; |
|
46 |
} |
|
47 |
} |