R12.1 Project-2025Sep08

Define Alert

You can define the details of alerts. The entrances of defining alert:

With the above alert definition, the "mtu" data unit shown on the map will be highlighted if the specified condition matched:

  • Provide different variable analysis operations according to different variable types.
  • Optimize the definition of condition in the ‘If’ statement to make it closer to natural language and easier to understand.
  • Support more methods for different types of variables in ‘Operation’ and expand the range of cases covered by the alert.

    TimelineDescription automatically generated

  • The following table lists the operations supported by the Variable types (string, number, and bool):

    Variable Type Operation Grammar
    String contains $var1 (contains) ____.
    String does not contain $var1 (does not contain) ____.
    String equals $var1 (equals) ____.
    String does not equal $var1 (does not equal) ____.
    String starts with $var1 (starts with) ____.
    String has changed $var1 (has changed) from the last result.
    String has not changed $var1 (has not changed) from the last result.
    String is flapping $var1 (is flapping). __ changes in last __ sampling.
    number == $num1 (==) __
    number != $num1 (!=) __
    number < $num1 (<) __
    number <= $num1 (<=) __
    number > $num1 (>) __
    number >= $num1 (>=) __
    number is in the range $num1 (is in the range of) __.
    number is out of the range $num1 (is out of the range) __.
    number has changed $num1 (has changed) from the last result.
    number has not changed $num1 (has not changed) from the last result.
    number is flapping $num1 (is flapping). __ changes in last __ sampling.
    number is increasing $num1 (is increasing) in last __ sampling.
    number is decreasing $num1 (is decreasing) in last __ sampling.
    number delta $num1 (delta) (>). (PS. [delta] = [now] - [last])
    number abs(delta) $num1 (abs(delat)) (>). (PS. Abs(delta) means rangeability)
    bool equals $var1 (equals) ____.
    bool does not equal $var1 (does not equal) ____.
    bool has changed $var1 (has changed) from the last result.
    bool has not changed $var1 (has not changed) from the last result.
    bool is flapping $var1 (is flapping). __ changes in last __ sampling.
  • Added tip to help users understand special syntax and operators.