Перейти к содержанию

Навигация

Движок правил wb-rules/en: различия между версиями

Новая страница: «Any number of different rules can be stored in a single file. Typically, rules responsible for close functions are stored in a single file.»
(Новая страница: «There are two types of rules :the rules themselves (start with defineRule) and virtual devices (start with defineVirtualDevice). Virtual devices are new switchers…»)
(Новая страница: «Any number of different rules can be stored in a single file. Typically, rules responsible for close functions are stored in a single file.»)
Строка 25: Строка 25:
There are two types of rules :the rules themselves (start with defineRule) and virtual devices (start with defineVirtualDevice). Virtual devices are new switchers that appear in the web interface - for example, a toggle button that actually turns off two devices at the same time. It is not tied directly to any physical device, and the actions when you click it are determined by the script you wrote.
There are two types of rules :the rules themselves (start with defineRule) and virtual devices (start with defineVirtualDevice). Virtual devices are new switchers that appear in the web interface - for example, a toggle button that actually turns off two devices at the same time. It is not tied directly to any physical device, and the actions when you click it are determined by the script you wrote.


Любое количество разных правил можно хранить в одном файле. Обычно в одном файле хранятся правила, отвечающие за близкие функции.
Any number of different rules can be stored in a single file. Typically, rules responsible for close functions are stored in a single file.




12 063

правки