beautypg.com

Threshold formula, Threshold formula syntax, Threshold formula -11 threshold formula syntax -11 – SMC Networks EliteView 6.20 User Manual

Page 95: 11 threshold formula

background image

D

EFINING

T

HRESHOLD

F

ORMULAS

7-11

Threshold Formula

The threshold formula uses Backus-Naur Form (BNF) as follows:

Threshold::=

SimpleExpression|

ComplexExpression|

-- Nothin

g

SimpleExpression::=Variable rel_op Value

Variable::= "R"|

-- Value of data

"H"|

-- Changes in data per hour

"M"|

-- Changes in data per minute

"S"

-- Changes in data per second

rel_op::=

">"|

-- Greater than

"<"|

-- Less than

">="|

-- Greater than or Equal to

"<="|

-- Less than or Equal to

"=="|

-- Equal

"!="|

-- Unequal

Value::=|

-- Number represented in decimal digits, within the range of a 4-byte unsigned

integer.

ComplexExpression::=

"(" SimpleExpression ")"|

"(" ComplexExpression ")"|

ComplexExpression logic_op ComplexExpression

logic_op::="AND"|"OR"

Threshold Formula Syntax

The threshold formula can be a simple or complex expression.