提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 291189 |
|
7 |
* @description 事件类型 EVENT_IVS_TRAFFIC_OVERSPEED (交通违章-超速)对应的规则配置 |
|
8 |
* @date 2022/09/07 15:13:00 |
|
9 |
*/ |
|
10 |
public class CFG_TRAFFIC_OVERSPEED_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 规则名称,不同规则不能重名 |
|
13 |
*/ |
|
14 |
public byte[] szRuleName = new byte[128]; |
|
15 |
/** |
|
16 |
* 规则使能 |
|
17 |
*/ |
|
18 |
public byte bRuleEnable; |
|
19 |
/** |
|
20 |
* 保留字段 |
|
21 |
*/ |
|
22 |
public byte[] bReserved = new byte[3]; |
|
23 |
/** |
|
24 |
* 相应物体类型个数 |
|
25 |
*/ |
|
26 |
public int nObjectTypeNum; |
|
27 |
/** |
|
28 |
* 相应物体类型列表 |
|
29 |
*/ |
|
30 |
public byte[] szObjectTypes = new byte[16 * 128]; |
|
31 |
/** |
|
32 |
* 云台预置点编号 0~65535 |
|
33 |
*/ |
|
34 |
public int nPtzPresetId; |
|
35 |
/** |
|
36 |
* 车道编号 |
|
37 |
*/ |
|
38 |
public int nLane; |
|
39 |
/** |
|
40 |
* 速度上限 |
|
41 |
*/ |
|
42 |
public int nSpeedUpperLimit; |
|
43 |
/** |
|
44 |
* 速度下限 |
|
45 |
*/ |
|
46 |
public int nSpeedLowerLimit; |
|
47 |
/** |
|
48 |
* 最短触发时间 单位:秒 |
|
49 |
*/ |
|
50 |
public int nMinDuration; |
|
51 |
/** |
|
52 |
* 报警联动 |
|
53 |
*/ |
|
54 |
public NetSDKLib.CFG_ALARM_MSG_HANDLE stuEventHandler = new NetSDKLib.CFG_ALARM_MSG_HANDLE(); |
|
55 |
/** |
|
56 |
* 事件响应时间段 |
|
57 |
*/ |
|
58 |
public NetSDKLib.CFG_TIME_SECTION[] stuTimeSection = new NetSDKLib.CFG_TIME_SECTION[7 * 10]; |
|
59 |
/** |
|
60 |
* 是否启用大小车限速 |
|
61 |
*/ |
|
62 |
byte bSpeedLimitForSize; |
|
63 |
/** |
|
64 |
* 保留字段 |
|
65 |
*/ |
|
66 |
public byte[] bReserved1 = new byte[3]; |
|
67 |
/** |
|
68 |
* 小型车速度上限 |
|
69 |
*/ |
|
70 |
public int nSmallCarSpeedUpperLimit; |
|
71 |
/** |
|
72 |
* 小型车速度下限 |
|
73 |
*/ |
|
74 |
public int nSmallCarSpeedLowerLimit; |
|
75 |
/** |
|
76 |
* 大车限低速宽限值 |
|
77 |
*/ |
|
78 |
public int nBigCarUnderSpeedMargin; |
|
79 |
/** |
|
80 |
* 大车限高速宽限值 |
|
81 |
*/ |
|
82 |
public int nBigCarOverSpeedMargin; |
|
83 |
/** |
|
84 |
* 小车限低速宽限值 |
|
85 |
*/ |
|
86 |
public int nUnderSpeedMargin; |
|
87 |
/** |
|
88 |
* 小车限高速宽限值 |
|
89 |
*/ |
|
90 |
public int nOverSpeedMargin; |
|
91 |
/** |
|
92 |
* 大车车速度上限 |
|
93 |
*/ |
|
94 |
public int nBigCarSpeedUpperLimit; |
|
95 |
/** |
|
96 |
* 大车车速度下限 |
|
97 |
*/ |
|
98 |
public int nBigCarSpeedLowerLimit; |
|
99 |
/** |
|
100 |
* 黄牌车限速上限 |
|
101 |
*/ |
|
102 |
public int nYellowSpeedUpperLimit; |
|
103 |
/** |
|
104 |
* 黄牌车限速下限 |
|
105 |
*/ |
|
106 |
public int nYellowSpeedLowerLimit; |
|
107 |
/** |
|
108 |
* 是否抓拍摩托车 |
|
109 |
*/ |
|
110 |
public byte bSnapMotorcycle; |
|
111 |
/** |
|
112 |
* 是否抓拍无牌机动车,0为不抓拍无牌机动车,1为抓拍无牌机动车,默认为0 |
|
113 |
*/ |
|
114 |
public byte bSnapNoPlateMotor; |
|
115 |
/** |
|
116 |
* 保留字段 |
|
117 |
*/ |
|
118 |
public byte[] bReserved2 = new byte[2]; |
|
119 |
|
|
120 |
public CFG_TRAFFIC_OVERSPEED_INFO() { |
|
121 |
for (int i = 0; i < stuTimeSection.length; i++) { |
|
122 |
stuTimeSection[i] = new NetSDKLib.CFG_TIME_SECTION(); |
|
123 |
} |
|
124 |
} |
|
125 |
} |