Translations:Rule Examples/3/en: различия между версиями

Материал из Wiren Board
(Новая страница: «An easy way is to do in the defineVirtualDevice() field, make it readonly: false. And it will appear in the web interface in Devices as editable, and the value will be saved in the rules engine. But a complex setup with menus and options cannot be done this way.»)
 
(нет различий)

Текущая версия на 20:58, 21 сентября 2022

Определение сообщения (Rule Examples)
Простой способ, это сделать в defineVirtualDevice() поле, ему сделать readonly: false. И оно появится в веб-интерфейсе в Devices как редактируемое, а значение будет сохраняться в движке правил.
Но сложную настройку с меню и вариантами так не сделать.

An easy way is to do in the defineVirtualDevice() field, make it readonly: false. And it will appear in the web interface in Devices as editable, and the value will be saved in the rules engine. But a complex setup with menus and options cannot be done this way.