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

Новая страница: «// position controller works daily defineRule("heatersDayOff", { when: function() { return (dev._schedules.heaters_schedule) && (vegetablesTemperature…»
(Новая страница: «// ========= Boilers and supply ventilation =========== // feedback by the temperature of the vegetable zone»)
(Новая страница: «// position controller works daily defineRule("heatersDayOff", { when: function() { return (dev._schedules.heaters_schedule) && (vegetablesTemperature…»)
Строка 996: Строка 996:
   // feedback by the temperature of the vegetable  zone
   // feedback by the temperature of the vegetable  zone


   // днём работает позиционный регулятор
   // position controller works daily
   defineRule("heatersDayOff", {
   defineRule("heatersDayOff", {
     when: function() {
     when: function() {
Строка 1003: Строка 1003:
     then: function (newValue, devName, cellName) {
     then: function (newValue, devName, cellName) {
       log("heatersDayOff  newValue={}, devName={}, cellName={}", newValue, devName, cellName);
       log("heatersDayOff  newValue={}, devName={}, cellName={}", newValue, devName, cellName);
       heater1EnableInverted = !false; // инвертировано
       heater1EnableInverted = !false; // inverted
     }
     }
   });
   });
12 063

правки