提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 251823 |
|
8 |
* @description 电子围栏报警拓展结构体 |
|
9 |
* @date 2022/12/06 19:32:32 |
|
10 |
*/ |
|
11 |
public class ALARM_ENCLOSURE_INFO_EX extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 通道号 |
|
14 |
*/ |
|
15 |
public int nChannelID; |
|
16 |
/** |
|
17 |
* 1:开始 2:停止 |
|
18 |
*/ |
|
19 |
public int nAction; |
|
20 |
/** |
|
21 |
* 事件发生的时间 |
|
22 |
*/ |
|
23 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
24 |
/** |
7412dd
|
25 |
* 围栏报警类型 {@link com.iailab.netsdk.lib.enumeration.EM_ENCLOSURE_TYPE_EX} |
149dd0
|
26 |
*/ |
H |
27 |
public int emType; |
|
28 |
/** |
|
29 |
* 返回详细类型个数 |
|
30 |
*/ |
|
31 |
public int nActionNum; |
|
32 |
/** |
7412dd
|
33 |
* 详细类型,参考枚举{@link com.iailab.netsdk.lib.enumeration.EM_ENCLOSURE_ALARM_TYPE_EX} |
149dd0
|
34 |
*/ |
H |
35 |
public int[] emAction = new int[16]; |
|
36 |
/** |
|
37 |
* 司机编号 |
|
38 |
*/ |
|
39 |
public int nDriverNo; |
|
40 |
/** |
|
41 |
* 围栏编号 |
|
42 |
*/ |
|
43 |
public int nEnclosureID; |
|
44 |
/** |
|
45 |
* 经度(单位是百万分之度,范围0-360度)如东经120.178274度表示为300178274 |
|
46 |
*/ |
|
47 |
public int dwLongitude; |
|
48 |
/** |
|
49 |
* 纬度(单位是百万分之度,范围0-180度)如北纬30.183382度表示为120183382 |
|
50 |
*/ |
|
51 |
public int dwLatidude; |
|
52 |
/** |
|
53 |
* 限制车速 |
|
54 |
*/ |
|
55 |
public int nLimitSpeed; |
|
56 |
/** |
|
57 |
* 当前速度 |
|
58 |
*/ |
|
59 |
public int nSpeed; |
|
60 |
/** |
|
61 |
* 设备ID |
|
62 |
*/ |
|
63 |
public byte[] szDeviceID = new byte[32]; |
|
64 |
/** |
|
65 |
* 出发围栏编号 |
|
66 |
*/ |
|
67 |
public int nStartEnclosureID; |
|
68 |
/** |
|
69 |
* 目的围栏编号 |
|
70 |
*/ |
|
71 |
public int nEndEnclosureID; |
|
72 |
/** |
|
73 |
* 出发时间,本地时间 |
|
74 |
*/ |
|
75 |
public NET_TIME_EX stuStartTime = new NET_TIME_EX(); |
|
76 |
/** |
|
77 |
* 出发时间,本地时间 |
|
78 |
*/ |
|
79 |
public NET_TIME_EX stuEndTime = new NET_TIME_EX(); |
|
80 |
/** |
|
81 |
* 本趟行驶行驶里程数,单位0.1Km |
|
82 |
*/ |
|
83 |
public int nMileage; |
|
84 |
/** |
|
85 |
* 趟数 |
|
86 |
*/ |
|
87 |
public int nTriggerCount; |
|
88 |
/** |
|
89 |
* 围栏类型扩展个数 |
|
90 |
*/ |
|
91 |
public int nMultiTypeNum; |
|
92 |
/** |
|
93 |
* 围栏类型扩展 |
|
94 |
*/ |
|
95 |
public byte[] szMultiType = new byte[16 * 32]; |
|
96 |
/** |
|
97 |
* GPS信息, refer to {@link NET_GPS_STATUS_INFO} |
|
98 |
*/ |
|
99 |
public Pointer pstuGPSStatus; |
|
100 |
/** |
|
101 |
* 保留 |
|
102 |
*/ |
|
103 |
public byte[] szReserved = new byte[508 - NetSDKLib.POINTERSIZE]; |
|
104 |
|
|
105 |
public ALARM_ENCLOSURE_INFO_EX() { |
|
106 |
} |
|
107 |
} |