提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.iailab.netsdk.lib.NetSDKLib.EVENT_INTELLI_COMM_INFO; |
|
5 |
import com.iailab.netsdk.lib.NetSDKLib.NET_MSG_OBJECT; |
|
6 |
import com.iailab.netsdk.lib.NetSDKLib.NET_POINT; |
|
7 |
|
|
8 |
/** |
|
9 |
* @author 251823 |
|
10 |
* @description 事件类型 EVENT_IVS_OUTDOOR_ADVERTISEMENT (户外广告事件)对应的数据块描述信息 |
|
11 |
* @date 2020/11/19 |
|
12 |
*/ |
|
13 |
public class DEV_EVENT_OUTDOOR_ADVERTISEMENT_INFO extends NetSDKLib.SdkStructure{ |
|
14 |
|
|
15 |
/** |
|
16 |
* 通道号 |
|
17 |
*/ |
|
18 |
public int nChannelID; |
|
19 |
/** |
|
20 |
* 0:脉冲 1:开始 2:停止 |
|
21 |
*/ |
|
22 |
public int nAction; |
|
23 |
/** |
|
24 |
* 事件名称 |
|
25 |
*/ |
|
26 |
public byte[] szName = new byte[NetSDKLib.NET_COMMON_STRING_128]; |
|
27 |
|
|
28 |
/** |
|
29 |
* 时间戳(单位是毫秒) |
|
30 |
*/ |
|
31 |
public double PTS; |
|
32 |
|
|
33 |
/** |
|
34 |
* 事件发生的时间 |
|
35 |
*/ |
|
36 |
public NET_TIME_EX UTC; |
|
37 |
/** |
|
38 |
* 事件ID |
|
39 |
*/ |
|
40 |
public int nEventID; |
|
41 |
/** |
|
42 |
* 事件对应文件信息 |
|
43 |
*/ |
|
44 |
public NetSDKLib.NET_EVENT_FILE_INFO stuFileInfo; |
|
45 |
|
|
46 |
/** |
|
47 |
* 规则检测区域 |
|
48 |
*/ |
|
49 |
public NET_POINT[] DetectRegion = new NET_POINT[NetSDKLib.NET_MAX_DETECT_REGION_NUM]; |
|
50 |
|
|
51 |
/** |
|
52 |
* 规则检测区域顶点数 |
|
53 |
*/ |
|
54 |
public int nDetectRegionNum; |
|
55 |
|
|
56 |
/** |
|
57 |
* 检测到的物体 |
|
58 |
*/ |
|
59 |
public NET_MSG_OBJECT[] stuObjects = new NET_MSG_OBJECT[NetSDKLib.HDBJ_MAX_OBJECTS_NUM]; |
|
60 |
|
|
61 |
/** |
|
62 |
* 检测到的物体个数 |
|
63 |
*/ |
|
64 |
public int nObjectNum; |
|
65 |
|
|
66 |
/** |
|
67 |
* 智能事件公共信息 |
|
68 |
*/ |
|
69 |
public EVENT_INTELLI_COMM_INFO stuIntelliCommInfo; |
|
70 |
|
|
71 |
/** |
|
72 |
* 事件触发的预置名称 |
|
73 |
*/ |
|
74 |
public byte[] szPresetName = new byte[NetSDKLib.NET_COMMON_STRING_64]; |
|
75 |
|
|
76 |
/** |
|
77 |
* 违法持续时长,单位:秒,缺省值0表示无意义 |
|
78 |
*/ |
|
79 |
public int nViolationDuration; |
|
80 |
|
|
81 |
/** |
|
82 |
* 事件关联ID,同一个物体或图片生成多个事件时SourceID相同 |
|
83 |
*/ |
|
84 |
public byte[] szSourceID = new byte[NetSDKLib.NET_COMMON_STRING_32]; |
|
85 |
|
|
86 |
/** |
|
87 |
* 抓图标志(按位),具体见NET_RESERVED_COMMON |
|
88 |
*/ |
|
89 |
public int dwSnapFlagMask; |
|
90 |
|
|
91 |
/** |
|
92 |
* 保留字节,留待扩展 |
|
93 |
*/ |
|
94 |
public byte[] byReserved = new byte[4092]; |
|
95 |
|
|
96 |
public DEV_EVENT_OUTDOOR_ADVERTISEMENT_INFO() { |
|
97 |
for (int i = 0; i < stuObjects.length; ++i) { |
|
98 |
stuObjects[i] = new NET_MSG_OBJECT(); |
|
99 |
} |
|
100 |
|
|
101 |
for (int i = 0; i < DetectRegion.length; ++i) { |
|
102 |
DetectRegion[i] = new NET_POINT(); |
|
103 |
} |
|
104 |
} |
|
105 |
|
|
106 |
} |