XML_RuleNotification

XML message about alarm linkage parameters of behavior analysis

<RuleNotification version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <sid><!--req, xs: string--></sid>
  <RuleList>
    <RuleInfo>
      <ruleId><!--req, xs: string--></ruleId>
      <EventTriggerNotificationList>
        <EventTriggerNotification><!--opt-->
          <id><!--req, xs: string; ID--></id>
          <notificationMethod>
            <!--req, xs: string, linkage action, "IO,email,record,center,cloud,audio"-->
          </notificationMethod>
          <notificationRecurrence>
             <!--opt, xs: string, alarm status, "beginning,beginningandend,recurring"-->
           </notificationRecurrence>
           <notificationInterval>
             <!--dep, xs: integer, alarm interval, unit: milliseconds-->
           </notificationInterval>
           <outputIOPortID><!--dep, xs: string; alarm output ID--></outputIOPortID>
           <dynOutputIOPortID><!--dep, xs: string; dynamic alarm output ID--></dynOutputIOPortID>
         </EventTriggerNotification>
       </EventTriggerNotificationList>
    </RuleInfo>
  </RuleList>
  <EventList><!--set linkage action by event type; this node cannot exist with the node RuleList at the same time-->
    <Event><!--list-->
      <eventType><!--req, xs:string, event type--></eventType>
      <mode><!--opt, xs:string, mode: leavePosition (default), sleep--></mode>
      <EventTriggerNotificationList>
        <EventTriggerNotification><!--list-->
          <id><!--req, xs:string, ID--></id>
          <notificationMethod><!--req, xs:string, linkage action: IO, email, record, center, cloud, whiteLight, audio--></notificationMethod>
          <notificationRecurrence><!--opt, xs:string, linkage time point: beginning, beginningandend, recurring--></notificationRecurrence>
          <notificationInterval>
            <!--dep, xs:integer, linkage interval, unit: millisecond; this node is required when the value of <notificationMethod> is "IO"-->
          </notificationInterval>
          <outputIOPortID>
            <!--dep, xs:string; ID, alarm output No.; this node is required when the value of <notificationMethod> is "IO"-->
          </outputIOPortID>
          <dynOutputIOPortID>
            <!--dep, xs:string; dynamic alarm output No.; this node is required when the value of <notificationMethod> is "IO"-->
          </dynOutputIOPortID>
        </EventTriggerNotification>
      </EventTriggerNotificationList>
    </Event>
  </EventList>
  <sceneName><!--optional, xs:string, scene name, which corresponds to <sid>--></sceneName>
</RuleNotification>