Все переводы

Введите имя сообщения для показа всех доступных переводов.

Сообщение

Найдено 2 перевода.

СообщениеТекущий текст
 ист. английский (en)defineRule("water_meter_1", {
   whenChanged: "wb-mcm8_29/Input 1 counter",
   then: function(newValue, devName, cellName) {
     if(newValue){
     dev["water_meters/water_meter_1"] = ((parseInt(newValue) - counterCorrection) * inpulseValue) + meterCorrection; // We multiply the value of the counter by the number of liters / pulse and add the correction value.
     }
   }
});
</syntaxhighlight>
 ист. русский (ru)defineRule("water_meter_1", {
   whenChanged: "wb-mcm8_29/Input 1 counter",
   then: function(newValue, devName, cellName) {
     if(newValue){
     dev["water_meters/water_meter_1"] = ((parseInt(newValue) - counterCorrection) * inpulseValue) + meterCorrection; // Умножаем значение счетчика на количество литров/импульс и прибавляем корректировочное значение.
     }
   }
});
</syntaxhighlight>