Translations:SVG-Dashboards/28/en: различия между версиями
(Новая страница: «For example, output the value <code>АВАРИЯ</code> if the value in the MQTT topic multiplied by 0.1 is greater than 20 and <code>НОРМА</code> otherwise: <syntaxhighlight lang="javascript"> (val*0.1>20) ? 'ALARM' : 'NORMAL' </syntaxhighlight>») |
(нет различий)
|
Текущая версия на 12:53, 4 августа 2023
For example, output the value АВАРИЯ
if the value in the MQTT topic multiplied by 0.1 is greater than 20 and НОРМА
otherwise:
(val*0.1>20) ? 'ALARM' : 'NORMAL'