提交 | 用户 | 时间
|
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_INTELLI_SHELF(智能补货事件)对应的规则配置 |
|
8 |
* @date 2022/11/15 19:52:34 |
|
9 |
*/ |
|
10 |
public class CFG_INTELLI_SHELF_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* 规则名称,不同规则不能重名 |
|
13 |
*/ |
|
14 |
public byte[] szRuleName = new byte[128]; |
|
15 |
/** |
|
16 |
* 规则使能 |
|
17 |
*/ |
|
18 |
public int bRuleEnable; |
|
19 |
/** |
|
20 |
* 相应物体类型个数 |
|
21 |
*/ |
|
22 |
public int nObjectTypeNum; |
|
23 |
/** |
|
24 |
* 相应物体类型列表 |
|
25 |
*/ |
|
26 |
public MaxNameByteArrInfo[] szObjectTypes = (MaxNameByteArrInfo[])new MaxNameByteArrInfo().toArray(NetSDKLib.MAX_OBJECT_LIST_SIZE); |
|
27 |
/** |
|
28 |
* 云台预置点编号 0~65535 |
|
29 |
*/ |
|
30 |
public int nPtzPresetId; |
|
31 |
/** |
|
32 |
* 报警联动 |
|
33 |
*/ |
|
34 |
public NetSDKLib.CFG_ALARM_MSG_HANDLE stuEventHandler = new NetSDKLib.CFG_ALARM_MSG_HANDLE(); |
|
35 |
/** |
|
36 |
* 事件响应时间段 |
|
37 |
*/ |
|
38 |
public NetSDKLib.TIME_SECTION_WEEK_DAY_10[] stuTimeSection = |
|
39 |
(NetSDKLib.TIME_SECTION_WEEK_DAY_10[])new NetSDKLib.TIME_SECTION_WEEK_DAY_10().toArray(NetSDKLib.WEEK_DAY_NUM); |
|
40 |
/** |
|
41 |
* 检测区顶点数 |
|
42 |
*/ |
|
43 |
public int nDetectRegionPoint; |
|
44 |
/** |
|
45 |
* 检测区 |
|
46 |
*/ |
|
47 |
public NetSDKLib.CFG_POLYGON[] stuDetectRegion = new NetSDKLib.CFG_POLYGON[20]; |
|
48 |
/** |
|
49 |
* 货架上货物百分比低于阈值则报警, 0表示不报警 |
|
50 |
*/ |
|
51 |
public short nThreshold; |
|
52 |
/** |
|
53 |
* 区域ID,该通道和PresetID下的某个区域,取值范围1-5 |
|
54 |
*/ |
|
55 |
public short nAreaID; |
|
56 |
/** |
|
57 |
* 保留字节 |
|
58 |
*/ |
|
59 |
public byte[] byReserved = new byte[4096]; |
|
60 |
|
|
61 |
public CFG_INTELLI_SHELF_INFO() { |
|
62 |
for (int i = 0; i < stuTimeSection.length; i++) { |
|
63 |
stuTimeSection[i] = new NetSDKLib.TIME_SECTION_WEEK_DAY_10(); |
|
64 |
} |
|
65 |
for (int i = 0; i < stuDetectRegion.length; i++) { |
|
66 |
stuDetectRegion[i] = new NetSDKLib.CFG_POLYGON(); |
|
67 |
} |
|
68 |
} |
|
69 |
} |