提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib.SdkStructure; |
|
4 |
import com.netsdk.lib.NetSDKLib.EM_CATEGORY_TYPE; |
|
5 |
|
|
6 |
/** |
|
7 |
* @description 事件类型EVENT_IVS_CROSSREGIONDETECTION(区域入侵事件)对应的规则配置 |
|
8 |
* @author 119178 |
|
9 |
* @date 2021/3/17 |
|
10 |
*/ |
|
11 |
public class NET_CROSSREGION_RULE_INFO extends SdkStructure{ |
|
12 |
/** |
|
13 |
* 结构体大小 |
|
14 |
*/ |
|
15 |
public int dwSize; |
|
16 |
/** |
|
17 |
* 检测方向:0:Enter;1:Leave;2:Both |
|
18 |
*/ |
|
19 |
public int nDirection; |
|
20 |
/** |
|
21 |
* 警戒区顶点数 |
|
22 |
*/ |
|
23 |
public int nDetectRegionPoint; |
|
24 |
/** |
|
25 |
* 警戒区 |
|
26 |
*/ |
|
27 |
public com.netsdk.lib.structure.POINTCOORDINATE[] stuDetectRegion= (com.netsdk.lib.structure.POINTCOORDINATE[])new POINTCOORDINATE().toArray(20); |
|
28 |
/** |
|
29 |
* 规则特定的尺寸过滤器是否有效 |
|
30 |
*/ |
|
31 |
public int bSizeFileter; |
|
32 |
/** |
|
33 |
* 规则特定的尺寸过滤器 |
|
34 |
*/ |
|
35 |
public NET_CFG_SIZEFILTER_INFO stuSizeFileter; |
|
36 |
/** |
|
37 |
* 检测动作个数 |
|
38 |
*/ |
|
39 |
public int nActionType; |
|
40 |
/** |
|
41 |
* 检测动作列表,0-出现 1-消失 2-在区域内 3-穿越区域 |
|
42 |
*/ |
|
43 |
public byte[] bActionType=new byte[4]; |
|
44 |
/** |
|
45 |
* 最小目标个数(当bActionType中包含"2-在区域内"时有效) |
|
46 |
*/ |
|
47 |
public int nMinTargets; |
|
48 |
/** |
|
49 |
* 最大目标个数(当bActionType中包含"2-在区域内"时有效) |
|
50 |
*/ |
|
51 |
public int nMaxTargets; |
|
52 |
/** |
|
53 |
* 最短持续时间, 单位秒(当bActionType中包含"2-在区域内"时有效) |
|
54 |
*/ |
|
55 |
public int nMinDuration; |
|
56 |
/** |
|
57 |
* 报告时间间隔, 单位秒(当bActionType中包含"2-在区域内"时有效) |
|
58 |
*/ |
|
59 |
public int nReportInterval; |
|
60 |
/** |
|
61 |
* 跟踪持续时间,0秒:一直跟踪,1~300秒:跟踪持续时间 |
|
62 |
*/ |
|
63 |
public int nTrackDuration; |
|
64 |
/** |
|
65 |
* 检测的车辆子类型个数 |
|
66 |
*/ |
|
67 |
public int nVehicleSubTypeNum; |
|
68 |
/** |
|
69 |
* 检测的车辆子类型列表 |
|
70 |
* {@link EM_CATEGORY_TYPE} |
|
71 |
*/ |
|
72 |
public int[] emVehicleSubType=new int[128]; |
|
73 |
|
|
74 |
/** |
|
75 |
* 保留字节 |
|
76 |
*/ |
|
77 |
public byte[] byReserved = new byte[1104]; |
|
78 |
|
|
79 |
public NET_CROSSREGION_RULE_INFO() |
|
80 |
{ |
|
81 |
this.dwSize = this.size(); |
|
82 |
}// 此结构体大小 |
|
83 |
} |