12 063
правки
(Новая страница: «One relay includes the engine, raising the curtains, the second relay - includes the engine, lowering the curtains. The rule ensures that both relays are not swit…») |
(Новая страница: «In addition, the rule turns off the engines after a specified time after switching on.») |
||
Строка 261: | Строка 261: | ||
One relay includes the engine, raising the curtains, the second relay - includes the engine, lowering the curtains. The rule ensures that both relays are not switched on at the same time. | One relay includes the engine, raising the curtains, the second relay - includes the engine, lowering the curtains. The rule ensures that both relays are not switched on at the same time. | ||
In addition, the rule turns off the engines after a specified time after switching on. | |||
<syntaxhighlight lang="ecmascript"> | <syntaxhighlight lang="ecmascript"> |
правки