提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
import com.iailab.netsdk.lib.NetSDKLib.NET_MSG_OBJECT_EX2; |
|
6 |
import com.sun.jna.Pointer; |
|
7 |
|
|
8 |
/** |
|
9 |
* @author 260611 |
|
10 |
* @description 事件类型 EVENT_IVS_OBJECT_REMOVAL_DETECTION(物品拿取检测事件) 对应数据 |
|
11 |
* @date 2023/04/21 16:10:01 |
|
12 |
*/ |
|
13 |
public class DEV_EVENT_OBJECT_REMOVAL_DETECTION_INFO extends NetSDKLib.SdkStructure { |
|
14 |
/** |
|
15 |
* 事件名称 |
|
16 |
*/ |
|
17 |
public byte[] szName = new byte[128]; |
|
18 |
/** |
|
19 |
* 通道号 |
|
20 |
*/ |
|
21 |
public int nChannelID; |
|
22 |
/** |
|
23 |
* 0:脉冲 |
|
24 |
*/ |
|
25 |
public int nAction; |
|
26 |
/** |
|
27 |
* 时间戳(单位是毫秒) |
|
28 |
*/ |
|
29 |
public double dbPTS; |
|
30 |
/** |
|
31 |
* 事件发生的时间 |
|
32 |
*/ |
|
33 |
public NET_TIME_EX UTC = new NET_TIME_EX(); |
|
34 |
/** |
|
35 |
* 事件时间毫秒数 |
|
36 |
*/ |
|
37 |
public int nUTCMS; |
|
38 |
/** |
|
39 |
* 事件编号,用来唯一标志一个事件 |
|
40 |
*/ |
|
41 |
public int nEventID; |
|
42 |
/** |
7412dd
|
43 |
* 智能事件所属大类 {@link com.iailab.netsdk.lib.enumeration.EM_CLASS_TYPE} |
149dd0
|
44 |
*/ |
H |
45 |
public int emClassType; |
|
46 |
/** |
|
47 |
* 抓图标志(按位),具体见NET_RESERVED_COMMON |
|
48 |
*/ |
|
49 |
public int dwSnapFlagMask; |
|
50 |
/** |
|
51 |
* 规则编号,用于标示哪个规则触发的事件,缺省时默认为0 |
|
52 |
*/ |
|
53 |
public int nRuleID; |
|
54 |
/** |
|
55 |
* 预录时长, 单位秒 |
|
56 |
*/ |
|
57 |
public int nPreRecord; |
|
58 |
/** |
|
59 |
* 物体信息数据 |
|
60 |
*/ |
|
61 |
public NetSDKLib.DH_MSG_OBJECT stuObject = new NetSDKLib.DH_MSG_OBJECT(); |
|
62 |
/** |
|
63 |
* 广角图 |
|
64 |
*/ |
|
65 |
public NetSDKLib.SCENE_IMAGE_INFO stuSceneImage = new NetSDKLib.SCENE_IMAGE_INFO(); |
|
66 |
/** |
|
67 |
* 检测目标物体的个数 |
|
68 |
*/ |
|
69 |
public int nObjectCount; |
|
70 |
/** |
|
71 |
* 表示检测到的物体信息 有Objects, 以Objects为准,无Objects, 以Object为准,为兼容老的客户端,有Objects的,Object也要填数据 |
|
72 |
*/ |
|
73 |
public NET_MSG_OBJECT_EX2[] stuObjects = new NET_MSG_OBJECT_EX2[128]; |
|
74 |
/** |
|
75 |
* 图片信息数组,{@link NET_IMAGE_INFO_EX2} |
|
76 |
*/ |
|
77 |
public Pointer pstuImageInfo; |
|
78 |
/** |
|
79 |
* 图片信息个数 |
|
80 |
*/ |
|
81 |
public int nImageInfoNum; |
|
82 |
/** |
|
83 |
* 事件公共扩展字段结构体 |
|
84 |
*/ |
|
85 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
86 |
/** |
|
87 |
* 保留字节 |
|
88 |
*/ |
|
89 |
public byte[] Reserved = new byte[1012]; |
|
90 |
|
|
91 |
public DEV_EVENT_OBJECT_REMOVAL_DETECTION_INFO() { |
|
92 |
for (int i = 0; i < stuObjects.length; i++) { |
|
93 |
stuObjects[i] = new NET_MSG_OBJECT_EX2(); |
|
94 |
} |
|
95 |
} |
|
96 |
} |