提交 | 用户 | 时间
|
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 260611 |
|
8 |
* @description 事件类型 EVENT_IVS_CROWD_LEVEL_DETECTION (拥挤程度检测事件)对应的数据块描述信息 |
|
9 |
* @origin autoTool |
|
10 |
* @date 2023/06/19 14:48:39 |
|
11 |
*/ |
|
12 |
public class DEV_EVENT_CROWD_LEVEL_DETECTION_INFO extends NetSDKLib.SdkStructure { |
|
13 |
/** |
|
14 |
* 通道号 |
|
15 |
*/ |
|
16 |
public int nChannelID; |
|
17 |
/** |
|
18 |
* 0:脉冲,1:开始, 2:停止 |
|
19 |
*/ |
|
20 |
public int nAction; |
|
21 |
/** |
|
22 |
* 事件名称 |
|
23 |
*/ |
|
24 |
public byte[] szName = new byte[128]; |
|
25 |
/** |
|
26 |
* 智能事件所属大类 |
|
27 |
*/ |
|
28 |
public byte[] szClass = new byte[16]; |
|
29 |
/** |
|
30 |
* 相对事件时间戳,(单位是毫秒) |
|
31 |
*/ |
|
32 |
public double dbPTS; |
|
33 |
/** |
|
34 |
* 事件发生的时间 |
|
35 |
*/ |
|
36 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
37 |
/** |
|
38 |
* 事件时间毫秒数 |
|
39 |
*/ |
|
40 |
public int nUTCMS; |
|
41 |
/** |
|
42 |
* 事件ID |
|
43 |
*/ |
|
44 |
public int nEventID; |
|
45 |
/** |
|
46 |
* 规则区域 |
|
47 |
*/ |
|
48 |
public NetSDKLib.NET_POINT[] stuDetectRegion = new NetSDKLib.NET_POINT[20]; |
|
49 |
/** |
|
50 |
* 规则区域个数 |
|
51 |
*/ |
|
52 |
public int nDetectRegionNum; |
|
53 |
/** |
|
54 |
* 事件触发的预置点号,从1开始 |
|
55 |
*/ |
|
56 |
public int nPresetID; |
|
57 |
/** |
7412dd
|
58 |
* 触发模式 {@link com.iailab.netsdk.lib.enumeration.EM_CROWD_LEVEL_DETECTION_TRIGGERMODE} |
149dd0
|
59 |
*/ |
H |
60 |
public int emTriggerMode; |
|
61 |
/** |
|
62 |
* 实际触发报警的人数 |
|
63 |
*/ |
|
64 |
public int nCrowdDetectNum; |
|
65 |
/** |
|
66 |
* 检测到的拥挤程度等级 |
|
67 |
*/ |
|
68 |
public int nCrowdRankResult; |
|
69 |
/** |
|
70 |
* 字节对齐 |
|
71 |
*/ |
|
72 |
public byte[] szReserved1 = new byte[4]; |
|
73 |
/** |
|
74 |
* 检测到的拥挤程度等级名称 |
|
75 |
*/ |
|
76 |
public byte[] szCrowdGroupName = new byte[128]; |
|
77 |
/** |
|
78 |
* 图片信息数组,{@link NET_IMAGE_INFO_EX3} |
|
79 |
*/ |
|
80 |
public Pointer pstuImageInfo; |
|
81 |
/** |
|
82 |
* 图片信息个数 |
|
83 |
*/ |
|
84 |
public int nImageInfoNum; |
|
85 |
/** |
|
86 |
* 扩展协议字段 |
|
87 |
*/ |
|
88 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
89 |
/** |
|
90 |
* 预留字节 |
|
91 |
*/ |
|
92 |
public byte[] szReserved = new byte[1020 - NetSDKLib.POINTERSIZE]; |
|
93 |
|
|
94 |
public DEV_EVENT_CROWD_LEVEL_DETECTION_INFO() { |
|
95 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
96 |
stuDetectRegion[i] = new NetSDKLib.NET_POINT(); |
|
97 |
} |
|
98 |
} |
|
99 |
} |