Rule
Properties
Property | Description |
---|---|
Disabled |
To disable or enable this block. |
Name |
The name of this block. |
Script |
Logic rule, for example: |
Comment |
To optionally enter a comment. |
A rule is as block of text with a 'C', Javascript like language to describe logic rules.
Example:
if ( temp > 25 ) { fan = 1 ; } else { fan = 0 ; }
For more on rules, see: Rule syntax