提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 251823 |
|
8 |
* @description 事件类型EVENT_IVS_SLEEP_DETECT(睡觉检测事件)对应的数据块描述信息 |
|
9 |
* @date 2021/09/27 |
|
10 |
*/ |
|
11 |
public class DEV_EVENT_SLEEP_DETECT_INFO extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 通道号 |
|
14 |
*/ |
|
15 |
public int nChannelID; |
|
16 |
|
|
17 |
/** |
|
18 |
* 1:开始 2:停止 |
|
19 |
*/ |
|
20 |
public int nAction; |
|
21 |
|
|
22 |
/** |
|
23 |
* 事件名称 |
|
24 |
*/ |
|
25 |
public byte[] szName = new byte[128]; |
|
26 |
|
|
27 |
/** |
|
28 |
* 时间戳(单位是毫秒) |
|
29 |
*/ |
|
30 |
public double PTS; |
|
31 |
|
|
32 |
/** |
|
33 |
* 事件发生的时间 |
|
34 |
*/ |
|
35 |
public NET_TIME_EX UTC; |
|
36 |
|
|
37 |
/** |
|
38 |
* 事件ID |
|
39 |
*/ |
|
40 |
public int nEventID; |
|
41 |
|
|
42 |
/** |
|
43 |
* 智能事件规则编号,用于标示哪个规则触发的事件 |
|
44 |
*/ |
|
45 |
public int nRuleID; |
|
46 |
|
|
47 |
/** |
|
48 |
* 智能事件所属大类,参考枚举 EM_CLASS_TYPE |
|
49 |
*/ |
|
50 |
public int emClassType; |
|
51 |
|
|
52 |
/** |
|
53 |
* 事件对应文件信息 |
|
54 |
*/ |
|
55 |
public NetSDKLib.NET_EVENT_FILE_INFO stuFileInfo; |
|
56 |
|
|
57 |
/** |
|
58 |
* 事件触发的预置点号,从1开始 |
|
59 |
*/ |
|
60 |
public int nPresetID; |
|
61 |
|
|
62 |
/** |
|
63 |
* 检测区域顶点数 |
|
64 |
*/ |
|
65 |
public int nDetectRegionNum; |
|
66 |
|
|
67 |
/** |
|
68 |
* 检测区域,[0,8191] |
|
69 |
*/ |
|
70 |
public NetSDKLib.NET_POINT[] stuDetectRegion = (NetSDKLib.NET_POINT[]) new NetSDKLib.NET_POINT().toArray(20); |
|
71 |
/** |
|
72 |
* 检测到的物体个数 |
|
73 |
*/ |
|
74 |
public int nObjectNum; |
|
75 |
|
|
76 |
/** |
|
77 |
* 检测到的物体 |
|
78 |
*/ |
|
79 |
public NetSDKLib.NET_MSG_OBJECT[] stuObjects = (NetSDKLib.NET_MSG_OBJECT[]) new NetSDKLib.NET_MSG_OBJECT() |
|
80 |
.toArray(128); |
|
81 |
/** |
|
82 |
* stuSceneImage 是否有效 |
|
83 |
*/ |
|
84 |
public int bSceneImage; |
|
85 |
|
|
86 |
/** |
|
87 |
* 全景广角图 |
|
88 |
*/ |
|
89 |
public NetSDKLib.SCENE_IMAGE_INFO_EX stuSceneImage; |
|
90 |
|
|
91 |
/** |
|
92 |
* 规则个数 |
|
93 |
*/ |
|
94 |
public int nRuleCount; |
|
95 |
|
|
96 |
/** |
|
97 |
* 规则类型:"Common":普通睡觉检测,默认值, "HeadCoveredSleep":蒙头睡觉检测 |
|
98 |
*/ |
|
99 |
public RuleTypeByteArr[] szRuleType = (RuleTypeByteArr[]) new RuleTypeByteArr().toArray(16); |
|
100 |
|
|
101 |
/** |
|
102 |
* 图片信息数组 ,结构体NET_IMAGE_INFO_EX2数组指针 |
|
103 |
*/ |
|
104 |
public Pointer pstuImageInfo; |
|
105 |
|
|
106 |
/** |
|
107 |
* 图片信息个数 |
|
108 |
*/ |
|
109 |
public int nImageInfoNum; |
|
110 |
|
|
111 |
/** |
|
112 |
* 事件公共扩展字段结构体 |
|
113 |
*/ |
|
114 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
115 |
|
|
116 |
/** |
|
117 |
* 预留字段 |
|
118 |
*/ |
|
119 |
public byte[] byReserved = new byte[224]; |
|
120 |
} |