提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 事件类型 EVENT_IVS_GARBAGE_PLASTICBAG (打包垃圾检测事件)对应的数据块描述信息 |
|
8 |
* @date 2023/02/17 19:39:19 |
|
9 |
*/ |
|
10 |
public class NET_DEV_EVENT_GARBAGE_PLASTICBAG_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 通道号 |
|
13 |
*/ |
|
14 |
public int nChannelID; |
|
15 |
/** |
|
16 |
* 0:脉冲,1:开始, 2:停止 |
|
17 |
*/ |
|
18 |
public int nAction; |
|
19 |
/** |
|
20 |
* 扩展协议字段 |
|
21 |
*/ |
|
22 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
23 |
/** |
|
24 |
* 事件名称 |
|
25 |
*/ |
|
26 |
public byte[] szName = new byte[128]; |
|
27 |
/** |
|
28 |
* 智能事件所属大类 |
|
29 |
*/ |
|
30 |
public byte[] szClass = new byte[16]; |
|
31 |
/** |
|
32 |
* 事件发生的时间 |
|
33 |
*/ |
|
34 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
35 |
/** |
|
36 |
* GroupID事件组ID,同一物体抓拍过程内GroupID相同 |
|
37 |
*/ |
|
38 |
public int nGroupID; |
|
39 |
/** |
|
40 |
* CountInGroup一个事件组内的抓拍张数 |
|
41 |
*/ |
|
42 |
public int nCountInGroup; |
|
43 |
/** |
|
44 |
* IndexInGroup一个事件组内的抓拍序号,从1开始 |
|
45 |
*/ |
|
46 |
public int nIndexInGroup; |
|
47 |
/** |
|
48 |
* 相对事件时间戳,(单位是毫秒) |
|
49 |
*/ |
|
50 |
public double dbPTS; |
|
51 |
/** |
|
52 |
* 事件ID |
|
53 |
*/ |
|
54 |
public int nEventID; |
|
55 |
/** |
|
56 |
* 检测到的物体个数 |
|
57 |
*/ |
|
58 |
public int nObjectCount; |
|
59 |
/** |
|
60 |
* 检测到的物体信息 |
|
61 |
*/ |
|
62 |
public NetSDKLib.DH_MSG_OBJECT[] stuObjects = new NetSDKLib.DH_MSG_OBJECT[64]; |
|
63 |
/** |
|
64 |
* 规则检测区域 |
|
65 |
*/ |
|
66 |
public NET_POINT_EX[] stuDetectRegion = new NET_POINT_EX[20]; |
|
67 |
/** |
|
68 |
* 规则检测区域顶点数 |
|
69 |
*/ |
|
70 |
public int nDetectRegionCount; |
|
71 |
/** |
|
72 |
* 事件触发的预置点号,从1开始 |
|
73 |
*/ |
|
74 |
public int nPresetID; |
|
75 |
/** |
|
76 |
* 事件触发的预置点名称 |
|
77 |
*/ |
|
78 |
public byte[] szPresetName = new byte[64]; |
|
79 |
/** |
|
80 |
* 事件关联ID |
|
81 |
*/ |
|
82 |
public byte[] szSourceID = new byte[32]; |
|
83 |
/** |
|
84 |
* 预留字节 |
|
85 |
*/ |
|
86 |
public byte[] szReserved = new byte[1024]; |
|
87 |
|
|
88 |
public NET_DEV_EVENT_GARBAGE_PLASTICBAG_INFO() { |
|
89 |
for (int i = 0; i < stuObjects.length; i++) { |
|
90 |
stuObjects[i] = new NetSDKLib.DH_MSG_OBJECT(); |
|
91 |
} |
|
92 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
93 |
stuDetectRegion[i] = new NET_POINT_EX(); |
|
94 |
} |
|
95 |
} |
|
96 |
} |