提交 | 用户 | 时间
|
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 事件类型 EVENT_IVS_ILLEGAL_CARRIAGE(非法运输事件)对应的数据块描述信息 |
|
9 |
* @date 2023/02/17 19:37:30 |
|
10 |
*/ |
|
11 |
public class NET_DEV_EVENT_ILLEGAL_CARRIAGE_INFO extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 通道号 |
|
14 |
*/ |
|
15 |
public int nChannelID; |
|
16 |
/** |
|
17 |
* 事件类型 0:脉冲,1:开始, 2:停止 |
|
18 |
*/ |
|
19 |
public int nAction; |
|
20 |
/** |
|
21 |
* 事件名称 |
|
22 |
*/ |
|
23 |
public byte[] szName = new byte[128]; |
|
24 |
/** |
|
25 |
* 智能事件所属大类 |
|
26 |
*/ |
|
27 |
public byte[] szClass = new byte[128]; |
|
28 |
/** |
|
29 |
* GroupID事件组ID,同一物体抓拍过程内GroupID相同 |
|
30 |
*/ |
|
31 |
public int nGroupID; |
|
32 |
/** |
|
33 |
* CountInGroup一个事件组内的抓拍张数 |
|
34 |
*/ |
|
35 |
public int nCountInGroup; |
|
36 |
/** |
|
37 |
* IndexInGroup一个事件组内的抓拍序号,从1开始 |
|
38 |
*/ |
|
39 |
public int nIndexInGroup; |
|
40 |
/** |
|
41 |
* 相对事件时间戳,(单位是毫秒) |
|
42 |
*/ |
|
43 |
public double dbPTS; |
|
44 |
/** |
|
45 |
* 事件发生的时间 |
|
46 |
*/ |
|
47 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
48 |
/** |
|
49 |
* 仅用于字节对齐,无实际意义 |
|
50 |
*/ |
|
51 |
public byte[] byReserved = new byte[4]; |
|
52 |
/** |
|
53 |
* 事件时间毫秒数 |
|
54 |
*/ |
|
55 |
public int nUTCMS; |
|
56 |
/** |
|
57 |
* 事件ID |
|
58 |
*/ |
|
59 |
public int nEventID; |
|
60 |
/** |
|
61 |
* 车辆信息 |
|
62 |
*/ |
|
63 |
public NetSDKLib.NET_MSG_OBJECT_EX2[] stuVehicles = new NetSDKLib.NET_MSG_OBJECT_EX2[10]; |
|
64 |
/** |
|
65 |
* 检测到的车辆信息个数(配合stuVehicles使用) |
|
66 |
*/ |
|
67 |
public int nVehiclesNum; |
|
68 |
/** |
|
69 |
* 检测到的车牌信息个数(配合stuObjects使用) |
|
70 |
*/ |
|
71 |
public int nObjectsNum; |
|
72 |
/** |
|
73 |
* 车牌信息 |
|
74 |
*/ |
|
75 |
public NetSDKLib.NET_MSG_OBJECT_EX2[] stuObjects = new NetSDKLib.NET_MSG_OBJECT_EX2[10]; |
|
76 |
/** |
|
77 |
* 全景广角图, 仅nIndexInData字段有效 |
|
78 |
*/ |
|
79 |
public NetSDKLib.SCENE_IMAGE_INFO stuSceneImage = new NetSDKLib.SCENE_IMAGE_INFO(); |
|
80 |
/** |
|
81 |
* 大客车周身门的状态(比如车门, 行李箱门是否打开), 0-未知, 1-是, 2-不是 |
|
82 |
*/ |
|
83 |
public int nBusDoorStatus; |
|
84 |
/** |
|
85 |
* 附近是否存在行李箱, 0-没有行李箱, 1-有行李箱 |
|
86 |
*/ |
|
87 |
public int nIsTrunk; |
|
88 |
/** |
|
89 |
* 图片信息数组,指针对应结构体NET_IMAGE_INFO_EX2数组 |
|
90 |
*/ |
|
91 |
public Pointer pstuImageInfo; |
|
92 |
/** |
|
93 |
* 图片信息个数 |
|
94 |
*/ |
|
95 |
public int nImageInfoNum; |
|
96 |
/** |
|
97 |
* 检测区个数 |
|
98 |
*/ |
|
99 |
public int nDetectRegionNum; |
|
100 |
/** |
|
101 |
* 检测区 |
|
102 |
*/ |
|
103 |
public NET_POINT_EX[] stuDetectRegion = new NET_POINT_EX[20]; |
|
104 |
/** |
|
105 |
* 预留字节 |
|
106 |
*/ |
|
107 |
public byte[] szReserved = new byte[1936 - NetSDKLib.POINTERSIZE]; |
|
108 |
|
|
109 |
public NET_DEV_EVENT_ILLEGAL_CARRIAGE_INFO() { |
|
110 |
for (int i = 0; i < stuVehicles.length; i++) { |
|
111 |
stuVehicles[i] = new NetSDKLib.NET_MSG_OBJECT_EX2(); |
|
112 |
} |
|
113 |
for (int i = 0; i < stuObjects.length; i++) { |
|
114 |
stuObjects[i] = new NetSDKLib.NET_MSG_OBJECT_EX2(); |
|
115 |
} |
|
116 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
117 |
stuDetectRegion[i] = new NET_POINT_EX(); |
|
118 |
} |
|
119 |
} |
|
120 |
} |