Все переводы
Введите имя сообщения для показа всех доступных переводов.
Найдено 2 перевода.
Сообщение | Текущий текст |
---|---|
ист. английский (en) | // time point marking the end of the interval var date_end = new Date(date); date_end.setHours(17); date_end.setMinutes(10); // if time is between 09:30 and 17:10 UTC if ((date > date_start) && (date < date_end)) { if (newValue) { dev["wb-gpio/EXT1_R3A1"] = 1; if (motion_timer_1_id) { clearTimeout(motion_timer_1_id); } motion_timer_1_id = setTimeout(function () { dev["wb-gpio/EXT1_R3A1"] = 0; motion_timer_1_id = null; }, motion_timer_1_timeout_ms); } } } }); </syntaxhighlight> |
ист. русский (ru) | // time point marking the end of the interval var date_end = new Date(date); date_end.setHours(17); date_end.setMinutes(10); // if time is between 09:30 and 17:10 UTC if ((date > date_start) && (date < date_end)) { if (newValue) { dev["wb-gpio/EXT1_R3A1"] = 1; if (motion_timer_1_id) { clearTimeout(motion_timer_1_id); } motion_timer_1_id = setTimeout(function () { dev["wb-gpio/EXT1_R3A1"] = 0; motion_timer_1_id = null; }, motion_timer_1_timeout_ms); } } } }); </syntaxhighlight> |