Skip to content

NET_SDK_IVE_COMMON_CFG

Structure Definition

1
2
3
4
5
6
7
8
struct NET_SDK_IVE_COMMON_CFG
{
    BOOL enable;                                   
    int alarmHoldTime;                             
    int stayAlarmThreshold;                        
    unsigned int ruleCount;                        
    unsigned int ruleCfgCount;                     
};
1
2
3
4
5
6
7
8
9
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_IVE_COMMON_CFG
{
    bool enable;
    Int32 alarmHoldTime;
    Int32 stayAlarmThreshold;
    UInt32 ruleCount;
    UInt32 ruleCfgCount;
}

Function Description

Intelligent event detection general configuration

Member Description

Member Type Remark
enable BOOL Whether to enable.
alarmHoldTime int Alarm duration, in seconds. -1 means no such parameter.
stayAlarmThreshold int The alarm triggering time threshold, unit is s, 10 ~ 3600, -1 means no such parameter.
ruleCount unsigned int Number of rules.
ruleCfgCount unsigned int The number of rule configurations, the number of NET_SDK_IVE_DETECT_RULE_CFG. Note: When ruleCfgCount = 1, it means that all rules share the same configuration, otherwise, it means that each rule has a separate configuration.
Error Code