Все переводы

Перейти к: навигация, поиск

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

Сообщение

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

СообщениеТекущий текст
 ист. английский (en)if (not acError1) and (not acError2) then 
   -- work on circulation
   if (now >= switchTime) then 
       if (curActiveAC == 1) then 
           WriteReg("activeAC", 2);
       else 
           WriteReg("activeAC", 1);
       end
       WriteReg("switchTime", now + CIRCULATION_TIME);
   end 
elseif acError1 and (not acError2) then 
       WriteReg("activeAC", 2);
elseif acError2 and (not acError1) then 
       WriteReg("activeAC", 1);
else
       WriteReg("activeAC", 0);
end -- if no errors
 ист. русский (ru)if (not acError1) and (not acError2) then 
   -- работаем по циркуляции 
   if (now >= switchTime) then 
       if (curActiveAC == 1) then 
           WriteReg("activeAC", 2);
       else 
           WriteReg("activeAC", 1);
       end
       WriteReg("switchTime", now + CIRCULATION_TIME);
   end 
elseif acError1 and (not acError2) then 
       WriteReg("activeAC", 2);
elseif acError2 and (not acError1) then 
       WriteReg("activeAC", 1);
else
       WriteReg("activeAC", 0);
end -- if no errors