1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.iailab.netsdk.lib.structure;
 
import com.iailab.netsdk.lib.NetSDKLib.SdkStructure;
import com.iailab.netsdk.lib.enumeration.NET_EM_SCENEDETECTION_TYPE;
import com.iailab.netsdk.lib.NetSDKLib.POINTCOORDINATE;
/**
 * @description 事件类型EVENT_IVS_FIREDETECTION(火焰检测事件) 对应的规则配置
 * @author 119178
 * @date 2021/3/11
 */
public class NET_FIRE_DETECTION_RULE_INFO extends SdkStructure{
    /**
     * 检测区顶点数
     */
    public int                            nDetectRegionPoint;
    /**
     * 字节对齐
     */
    public byte[]                        byReserved1=new byte[4];    
    /**
     * 检测区
     */
    public POINTCOORDINATE[]                stuDetectRegion=(POINTCOORDINATE[])new POINTCOORDINATE().toArray(20);
    /**
     * 最短持续时间,单位:秒 0~65535
     */
    public int                        nMinDuration;    
    /**
     * 灵敏度,范围[1,10],灵敏度越高越容易检测
     */
    public int                         nSensitivity;            
    /**
     * 火焰定位参数
     */
    public NET_FIRE_DETECTION_POSITION_PARAM stuPositionParam;    
    /**
     * 重复报警时间,单位:秒,范围0-3600.无该字段时,不做处理
     */
    public int                        nRepeatAlarmTime;    
    /**
     * 场景类型
     * {@link NET_EM_SCENEDETECTION_TYPE}
     */
    public int  emSceneType;            
    /**
     * 保留字节
     */
    public byte[]                        byReserved=new byte[4096];                       
}