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

Материал из Wiren Board
(Новая страница: «<syntaxhighlight lang="ecmascript"> defineVirtualDevice("rs485_cmd", { title: "Send custom command to RS-485 port", cells: { enabled: { type: "switch", value: false }, } });»)
 
(нет различий)

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

Определение сообщения (Rule Examples)
<syntaxhighlight lang="ecmascript">
defineVirtualDevice("rs485_cmd", {
   title: "Send custom command to RS-485 port",
   cells: {
enabled: {
    type: "switch",
    value: false
},
   }
});

<syntaxhighlight lang="ecmascript"> defineVirtualDevice("rs485_cmd", {

   title: "Send custom command to RS-485 port",
   cells: {

enabled: { type: "switch", value: false },

   }

});