Skip to content

Commit 60965c5

Browse files
authored
Merge pull request SkylineCommunications#335 from RobbieDemaegdt/main
Update Skyline_Logical_Layer.md
2 parents 9782eaa + 4a235ea commit 60965c5

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

connector/doc/Skyline_Logical_Layer.md

+40
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,43 @@ Once you have set up the element as detailed above, it will show the following i
4747

4848
- The **Conditions** page displays a table with the defined conditions and the result and settings.
4949
- The **Monitors** page displays three tables, for the Parameter Value, Element Alarm, and View Alarm Monitors.
50+
51+
### Condition Syntax
52+
53+
Every comparison has to be started and closed with `< >`.
54+
55+
Example: `<Number==5>`
56+
57+
The following operators can be used for comparisons:
58+
59+
- `=`
60+
- `!`
61+
- `<`
62+
- `>`
63+
64+
You can also use the following combinations:
65+
66+
- `==`
67+
- `!=`
68+
- `<=`
69+
- `>=`
70+
71+
You can also start with an exclamation mark to inverse the used condition: `<!ConditionName>`
72+
73+
Combining multiple comparisons is possible with the keywords `and`, `or`, and `not` (`not` will be translated to `and not`).
74+
75+
Examples:
76+
77+
- `<Number==5>and<String==Test>`
78+
79+
- `<Number==5>not<ConditionName>`
80+
81+
This can also be written like this: `<Number==5>and<!ConditionName>`
82+
83+
- `<String==Test>or<Discreet==Disconnected>`
84+
85+
Any of the monitors can be used in a condition.
86+
87+
Conditions can be reused inside other conditions.
88+
89+
To make use of the static variables, prefix the name with `@`: `<Number==@StaticNumber>`

0 commit comments

Comments
 (0)