提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 421657 |
|
7 |
* @description 事件类型 EVENT_IVS_GRANARY_TRANS_ACTION_DETECTION(粮面异动检测事件上报)对应的数据块描述信息 |
|
8 |
* @origin autoTool |
|
9 |
* @date 2023/12/13 09:51:51 |
|
10 |
*/ |
|
11 |
public class NET_DEV_EVENT_GRANARY_TRANS_ACTION_DETECTION_INFO extends NetSDKLib.SdkStructure{ |
|
12 |
|
|
13 |
/** |
|
14 |
* / 通道号 |
|
15 |
*/ |
|
16 |
public int nChannelID; |
|
17 |
/** |
|
18 |
* / 0:脉冲,1:开始, 2:停止 |
|
19 |
*/ |
|
20 |
public int nAction; |
|
21 |
/** |
|
22 |
* / 扩展协议字段 |
|
23 |
*/ |
|
24 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
25 |
/** |
|
26 |
* / 事件发生的时间 |
|
27 |
*/ |
|
28 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
29 |
/** |
|
30 |
* / 事件编号,用来唯一标志一个事件 |
|
31 |
*/ |
|
32 |
public int nEventID; |
|
33 |
/** |
|
34 |
* / 事件名称 |
|
35 |
*/ |
|
36 |
public byte[] szName = new byte[128]; |
|
37 |
/** |
|
38 |
* / 智能事件所属大类 |
|
39 |
*/ |
|
40 |
public byte[] szClass = new byte[16]; |
|
41 |
/** |
|
42 |
* / 事件触发的预置点号,从1开始 |
|
43 |
*/ |
|
44 |
public int nPresetID; |
|
45 |
/** |
|
46 |
* / 物体信息列表实际数量 |
|
47 |
*/ |
|
48 |
public int nObjectsCount; |
|
49 |
/** |
|
50 |
* / 物体信息列表 |
|
51 |
*/ |
|
52 |
public NetSDKLib.NET_MSG_OBJECT[] stuObjects = new NetSDKLib.NET_MSG_OBJECT[128]; |
|
53 |
/** |
|
54 |
* / 相对事件时间戳,单位毫秒 |
|
55 |
*/ |
|
56 |
public double dbPTS; |
|
57 |
/** |
|
58 |
* / 全景图 |
|
59 |
*/ |
|
60 |
public NetSDKLib.SCENE_IMAGE_INFO_EX stuSceneImage = new NetSDKLib.SCENE_IMAGE_INFO_EX(); |
|
61 |
/** |
|
62 |
* / 检测区域 |
|
63 |
*/ |
|
64 |
public NET_POINT_EX[] stuDetectRegion = new NET_POINT_EX[20]; |
|
65 |
/** |
|
66 |
* / 检测区域个数 |
|
67 |
*/ |
|
68 |
public int nDetectRegionCount; |
|
69 |
/** |
|
70 |
* / 预留字节 |
|
71 |
*/ |
|
72 |
public byte[] szReserverd = new byte[1024]; |
|
73 |
|
|
74 |
public NET_DEV_EVENT_GRANARY_TRANS_ACTION_DETECTION_INFO() { |
|
75 |
for (int i = 0; i < stuObjects.length; i++) { |
|
76 |
stuObjects[i] = new NetSDKLib.NET_MSG_OBJECT(); |
|
77 |
} |
|
78 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
79 |
stuDetectRegion[i] = new NET_POINT_EX(); |
|
80 |
} |
|
81 |
} |
|
82 |
} |