Здесь показаны различия между двумя версиями данной страницы.
Следущая версия | Предыдущая версия Следущая версия Both sides next revision | ||
ru:sidebar:remoteapi:apiref:unit:deactivation [04/05/2019 12:55] chdi создано |
ru:sidebar:remoteapi:apiref:unit:deactivation [04/05/2019 12:59] chdi [Деактивация объектов] |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
====== Деактивация объектов====== | ====== Деактивация объектов====== | ||
- | To update device (hardware) type and unique ID of a unit, use the command **unit/update_device_type**: | + | Для активации/деактивации объектов используется команда **svc=unit/set_active**: |
<code javascript> | <code javascript> | ||
- | svc=unit/update_device_type¶ms={"itemId":<long>,"active":<bool>} | + | svc=unit/set_active¶ms={"itemId":<long>,"active":<bool>} |
</code> | </code> | ||
|