Condition syntax is the language used for conditions. The following formulas can be arranged into expressions with parentheses and boolean operators, where the <PLACEHOLDERS> represent selectors or values (see right column for details). <NODE> enters location <LOCATION> <NODE> is in location <LOCATION> <NODE> exits location <LOCATION> <NODE> enters view <CAMERA> <NODE> is in view <CAMERA> <NODE> exits view <CAMERA> <PERSON> enters view <CAMERA> <PERSON> is in view <CAMERA> <PERSON> exits view <CAMERA> unidentified person enters view <CAMERA> unidentified person exits view <CAMERA> <LANDMARK> enters view <CAMERA> <LANDMARK> exits view <CAMERA> <NODE> enters comms range <NODE> is in comms range <NODE> exits comms range time since last seen <NODE> <COMPARATOR> <COUNT> <TIME-INTERVAL-UNIT> time since last seen <LANDMARK> <COMPARATOR> <COUNT> <TIME-INTERVAL-UNIT> time since last seen <PERSON> <COMPARATOR> <COUNT> <TIME-INTERVAL-UNIT> <SENSOR> value becomes <COMPARATOR> <FLOAT> <SENSOR> value is <COMPARATOR> <FLOAT> <SENSOR> value enters range <FLOAT> to <FLOAT> <SENSOR> value is in range <FLOAT> to <FLOAT> | ExpressionsExpressions are formed when condition formulas are combined with the following operators:
Examples:
Selectors Selectors will match zero or more items of the type specified. For example <CAMERA> could be "#mycamera", "#mycam1,#mycam2" or "*" to denote a specific camera, a list of spesific cameras or any camera respectively.If there is a typo or the item you want does not exist, the selector will return 0 items and disable the condition it was part of. TypesThe following items can be selected
NameExamples:
IDExample:
ListExample:
WildcardExamples:
DefaultExample:
Values Values are specified in placeholder just like selectors, but they represent literal values or enums. CountValid values are all unsigned integers up to 2^64 Time-interval-unitValid values are:
ComparatorValid values are:
|