NET_VCA_RULE_INFO

Structure about alarm/event rule information.

Structure Definition

struct{
  BYTE                    byRuleID;
  BYTE                    bySceneID;
  WORD                    wEventTypeEx;
  BYTE                    byRuleName[NAME_LEN/*32*/];
  DWORD                   dwEventType;
  NET_VCA_EVENT_UNION     uEventParam;
}NET_VCA_RULE_INFO,*LPNET_VCA_RULE_INFO;

Members

byRuleID

Rule No., which ranges from 0 to 7.

bySceneID

Scene ID, 0-invalid

wEventTypeEx

Extension types of behavior analysis, refer to the enumeration definition VCA_RULE_EVENT_TYPE_EX for details.

byRuleName

Rule name

dwEventType

Behavior analysis event types, refer to the enumeration definition VCA_EVENT_TYPE for details.

uEventParam

Event parameters, see the structure NET_VCA_EVENT_UNION for details.

Remarks

The member wEventTypeEx compile with the member dwEventType.