提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 260611 |
|
7 |
* @description 事件类型 EVENT_IVS_WADING_DETECTION (涉水安全检测、水域监测报警)对应的数据块描述信息 |
|
8 |
* @origin autoTool |
|
9 |
* @date 2023/07/21 15:56:23 |
|
10 |
*/ |
|
11 |
public class NET_DEV_EVENT_WADING_DETECTION_INFO extends NetSDKLib.SdkStructure { |
|
12 |
/** |
|
13 |
* 通道号 |
|
14 |
*/ |
|
15 |
public int nChannelID; |
|
16 |
/** |
|
17 |
* 0:脉冲, 1:开始, 2:停止 |
|
18 |
*/ |
|
19 |
public int nAction; |
|
20 |
/** |
|
21 |
* 扩展协议字段 |
|
22 |
*/ |
|
23 |
public NET_EVENT_INFO_EXTEND stuEventInfoEx = new NET_EVENT_INFO_EXTEND(); |
|
24 |
/** |
|
25 |
* 事件发生时间, 带时区偏差的UTC时间, 单位秒 |
|
26 |
*/ |
|
27 |
public NET_TIME_EX stuUTC = new NET_TIME_EX(); |
|
28 |
/** |
|
29 |
* 事件编号 |
|
30 |
*/ |
|
31 |
public int nEventID; |
|
32 |
/** |
|
33 |
* 事件名称 |
|
34 |
*/ |
|
35 |
public byte[] szName = new byte[128]; |
|
36 |
/** |
|
37 |
* 智能事件所属大类 |
|
38 |
*/ |
|
39 |
public byte[] szClass = new byte[16]; |
|
40 |
/** |
|
41 |
* 相对事件时间戳,单位毫秒 |
|
42 |
*/ |
|
43 |
public double dbPTS; |
|
44 |
/** |
|
45 |
* 事件组ID,同一辆车抓拍过程内GroupID相同。 |
|
46 |
*/ |
|
47 |
public int nGroupID; |
|
48 |
/** |
|
49 |
* CountInGroup一个事件组内应有的抓拍张数 |
|
50 |
*/ |
|
51 |
public int nCountInGroup; |
|
52 |
/** |
|
53 |
* 一个事件组内的抓拍序号,从1开始 |
|
54 |
*/ |
|
55 |
public int nIndexInGroup; |
|
56 |
/** |
|
57 |
* 检测到的物体信息个数 |
|
58 |
*/ |
|
59 |
public int nObjectsNum; |
|
60 |
/** |
|
61 |
* 检测到的物体信息 |
|
62 |
*/ |
|
63 |
public NetSDKLib.DH_MSG_OBJECT[] stuObjects = new NetSDKLib.DH_MSG_OBJECT[32]; |
|
64 |
/** |
|
65 |
* 检测区域 |
|
66 |
*/ |
|
67 |
public NET_POINT_EX[] stuDetectRegion = new NET_POINT_EX[20]; |
|
68 |
/** |
|
69 |
* 实际检测到区域个数 |
|
70 |
*/ |
|
71 |
public int nDetectRegionNum; |
|
72 |
/** |
|
73 |
* 预留字节 |
|
74 |
*/ |
|
75 |
public byte[] szReserved = new byte[1020]; |
|
76 |
|
|
77 |
public NET_DEV_EVENT_WADING_DETECTION_INFO() { |
|
78 |
for (int i = 0; i < stuObjects.length; i++) { |
|
79 |
stuObjects[i] = new NetSDKLib.DH_MSG_OBJECT(); |
|
80 |
} |
|
81 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
82 |
stuDetectRegion[i] = new NET_POINT_EX(); |
|
83 |
} |
|
84 |
} |
|
85 |
} |