SVGHMI: add support for "enable expressions" with arbitrary variable name assignment.
HMI tree paths can be prefixed with a variable name "@name=/MY/HMI/VAR"
Widget declarations can end with a "#" followed by a JS expression that refers to name given to variables.
Widget is disabled if expression's result is false.
Commit includes some more-or-less related generated code refactoring, that should simplify extending widget's variables attributes.
image: skvorl/beremiz-requirements
pipelines:
default:
- parallel:
- step:
name: Codestyle checks
script:
- ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
- /usr/bin/python --version
- ./tests/tools/check_source.sh
- step:
name: Application tests
max-time: 10
script:
- ln -s /CanFestival-3 $BITBUCKET_CLONE_DIR/../CanFestival-3
- ./tests/tools/run_python_tests.sh