translator, wb_editors
4544
правки
Matveevrj (обсуждение | вклад) |
Matveevrj (обсуждение | вклад) |
||
Строка 221: | Строка 221: | ||
dev[relay_up_device][relay_up_control] = 0; | |||
dev[relay_up_device][relay_up_control] = 0; | dev["relay_down_device/relay_down_control"] = 0; | ||
dev[relay_down_device | |||
log("Both roller shutter relays on, switching them off"); | log("Both roller shutter relays on, switching them off"); | ||
} | } | ||
Строка 229: | Строка 228: | ||
})(); | })(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
An older version of the same script demonstrates the use of aliases: | An older version of the same script demonstrates the use of aliases: |