提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 事件类型EVENT_IVS_CROSSREGIONDETECTION(区域入侵事件)对应的规则配置 |
|
8 |
* @date 2021/07/06 |
|
9 |
*/ |
|
10 |
public class CFG_CROSSREGION_INFO extends NetSDKLib.SdkStructure{ |
|
11 |
/** |
|
12 |
* 规则名称,不同规则不能重名 |
|
13 |
*/ |
|
14 |
public byte[] szRuleName = new byte[NetSDKLib.MAX_NAME_LEN]; |
|
15 |
|
|
16 |
/** |
|
17 |
* 规则使能 |
|
18 |
*/ |
|
19 |
public byte bRuleEnable; |
|
20 |
|
|
21 |
/** |
|
22 |
* 触发跟踪使能,仅对绊线,入侵规则有效 |
|
23 |
*/ |
|
24 |
public byte bTrackEnable; |
|
25 |
|
|
26 |
/** |
|
27 |
* 保留字段 |
|
28 |
*/ |
|
29 |
public byte[] bReserved = new byte[2]; |
|
30 |
|
|
31 |
/** |
|
32 |
* 相应物体类型个数 |
|
33 |
*/ |
|
34 |
public int nObjectTypeNum; |
|
35 |
|
|
36 |
/** |
|
37 |
* 相应物体类型列表 |
|
38 |
*/ |
|
39 |
public MaxNameByteArrInfo[] szObjectTypes = (MaxNameByteArrInfo[])new MaxNameByteArrInfo().toArray(NetSDKLib.MAX_OBJECT_LIST_SIZE); |
|
40 |
|
|
41 |
/** |
|
42 |
* 检测方向:0:Enter;1:Leave;2:Both |
|
43 |
*/ |
|
44 |
public int nDirection; |
|
45 |
|
|
46 |
/** |
|
47 |
* 警戒区顶点数 |
|
48 |
*/ |
|
49 |
public int nDetectRegionPoint; |
|
50 |
|
|
51 |
/** |
|
52 |
* 警戒区 |
|
53 |
*/ |
|
54 |
public NetSDKLib.CFG_POLYGON[] stuDetectRegion = (NetSDKLib.CFG_POLYGON[]) new NetSDKLib.CFG_POLYGON().toArray(NetSDKLib.MAX_POLYGON_NUM); |
|
55 |
/** |
|
56 |
* 报警联动 |
|
57 |
*/ |
|
58 |
public NetSDKLib.CFG_ALARM_MSG_HANDLE stuEventHandler; |
|
59 |
|
|
60 |
/** |
|
61 |
* 事件响应时间段 |
|
62 |
*/ |
|
63 |
public NetSDKLib.TIME_SECTION_WEEK_DAY_10[] stuTimeSectionWeekDay = |
|
64 |
(NetSDKLib.TIME_SECTION_WEEK_DAY_10[])new NetSDKLib.TIME_SECTION_WEEK_DAY_10().toArray(NetSDKLib.WEEK_DAY_NUM); |
|
65 |
/** |
|
66 |
* stuTimeSection字段是否禁用,默认FALSE:不禁用,TRUE:禁用,用户控制 |
|
67 |
*/ |
|
68 |
public boolean bDisableTimeSection; |
|
69 |
|
|
70 |
/** |
|
71 |
* 云台预置点编号 0~65535 |
|
72 |
*/ |
|
73 |
public int nPtzPresetId; |
|
74 |
|
|
75 |
/** |
|
76 |
* 规则特定的尺寸过滤器是否有效 |
|
77 |
*/ |
|
78 |
public boolean bSizeFileter; |
|
79 |
|
|
80 |
/** |
|
81 |
* 规则特定的尺寸过滤器 |
|
82 |
*/ |
|
83 |
public NetSDKLib.CFG_SIZEFILTER_INFO stuSizeFileter; |
|
84 |
|
|
85 |
/** |
|
86 |
* 检测动作数 |
|
87 |
*/ |
|
88 |
public int nActionType; |
|
89 |
|
|
90 |
/** |
|
91 |
* 检测动作列表,0-出现 1-消失 2-在区域内 3-穿越区域 |
|
92 |
*/ |
|
93 |
public byte[] bActionType = new byte[4]; |
|
94 |
|
|
95 |
/** |
|
96 |
* 最小目标个数(当bActionType中包含"2-在区域内"时有效) |
|
97 |
*/ |
|
98 |
public int nMinTargets; |
|
99 |
|
|
100 |
/** |
|
101 |
* 最大目标个数(当bActionType中包含"2-在区域内"时有效) |
|
102 |
*/ |
|
103 |
public int nMaxTargets; |
|
104 |
|
|
105 |
/** |
|
106 |
* 最短持续时间, 单位秒(当bActionType中包含"2-在区域内"时有效) |
|
107 |
*/ |
|
108 |
public int nMinDuration; |
|
109 |
|
|
110 |
/** |
|
111 |
* 报告时间间隔, 单位秒(当bActionType中包含"2-在区域内"时有效) |
|
112 |
*/ |
|
113 |
public int nReportInterval; |
|
114 |
|
|
115 |
/** |
|
116 |
* 跟踪持续时间,0秒:一直跟踪,1~300秒:跟踪持续时间 |
|
117 |
*/ |
|
118 |
public int nTrackDuration; |
|
119 |
|
|
120 |
/** |
|
121 |
* 检测的车辆子类型个数 |
|
122 |
*/ |
|
123 |
public int nVehicleSubTypeNum; |
|
124 |
|
|
125 |
/** |
|
126 |
* 检测的车辆子类型列表 |
|
127 |
*/ |
|
128 |
public int[] emVehicleSubType = new int[128]; |
|
129 |
|
|
130 |
/** |
|
131 |
* 是否开启目标属性识别,默认false |
|
132 |
*/ |
|
133 |
public boolean bFeatureEnable; |
|
134 |
|
|
135 |
/** |
|
136 |
* 前端视频分析联动 |
|
137 |
*/ |
|
138 |
public NetSDKLib.CFG_ALARM_MSG_HANDLE stuRemoteEventHandler; |
|
139 |
|
|
140 |
/** |
|
141 |
* 前端视频分析联动响应时间段 |
|
142 |
*/ |
|
143 |
public NetSDKLib.TIME_SECTION_WEEK_DAY_10[] stuRemoteTimeSection = |
|
144 |
(NetSDKLib.TIME_SECTION_WEEK_DAY_10[])new NetSDKLib.TIME_SECTION_WEEK_DAY_10().toArray(NetSDKLib.WEEK_DAY_NUM); |
|
145 |
/** |
|
146 |
* stuRemoteTimeSection字段是否禁用, 默认FALSE:不禁用, TRUE:禁用, 用户控制 |
|
147 |
*/ |
|
148 |
public boolean bDisableRemoteTimeSection; |
|
149 |
|
|
150 |
/** |
|
151 |
* 物体过滤器是否有效, 即stuObjectFilter 是否有效 |
|
152 |
*/ |
|
153 |
public boolean bObjectFilter; |
|
154 |
|
|
155 |
/** |
|
156 |
* 物体过滤器信息 |
|
157 |
*/ |
|
158 |
public NET_CFG_OBJECT_FILTER_INFO stuObjectFilter; |
|
159 |
|
|
160 |
/** |
|
161 |
* 灵敏度,值越小灵敏度越低。取值1-10 |
|
162 |
*/ |
|
163 |
public int nSensitivity; |
|
164 |
|
|
165 |
/** |
|
166 |
* 报警类型, EM_CFG_CROSSREGION_ALARMTYPE |
|
167 |
*/ |
|
168 |
public int emAlarmType; |
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
} |