Перейти к содержанию

Навигация

SVG-Dashboards/en: различия между версиями

Новая страница: «=== Read === Display values from the source in a text field.»
(Новая страница: «Events available: single and long press, as well as swipe left and right.»)
Метки: правка с мобильного устройства правка из мобильной версии
(Новая страница: «=== Read === Display values from the source in a text field.»)
Строка 229: Строка 229:
}}
}}


<div lang="ru" dir="ltr" class="mw-content-ltr">
==== Release wb-2304 and older ====
==== Релиз wb-2304 и старее ====
The SVG panel editor assigns data-svg-param-id at the time of binding actions to the element, so to edit the image, you need to load it from the controller to the computer:
Редактор SVG-панели в момент привязки действий к элементу прописывает data-svg-param-id, поэтому для редактирования изображения нужно его загрузить с контроллера на компьютер:
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
# Open the SVG panel for editing.
# Откройте SVG-панель для редактирования.
# At the top of the window, click the '''Download''' button, the svg file will be downloaded to your computer.
# В верхней части окна нажмите кнопку '''Download''', на компьютер загрузится svg-файл.
# Edit the file in Inkscape. We do not recommend editing such files in Adobe Illustrator - [https://support.wirenboard.com/t/redaktirovanie-svg-dacsboard bindings are lost], there is no information about other editors.
# Отредактируйте файл в Inkscape. В Adobe Illustrator редактировать такие файлы не рекомендуем — [https://support.wirenboard.com/t/redaktirovanie-svg-dacsboard теряются привязки], про другие редакторы информации нет.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
When editing, keep in mind that if a link was assigned to an svg element, then it contains a hidden data-svg-param-id and when it is duplicated, a new element is created with the same data-svg-param-id.
При редактировании учтите, что если на svg-элемент была назначена связь, то он содержит скрытый data-svg-param-id и при его дублировании создается новый элемент с тем же data-svg-param-id.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
Edit the resulting svg file and upload it to the controller again:
Отредактируйте полученный svg-файл и вновь загрузите его на контроллер:
# In the edit window, click the '''Select File''' button.
# В окне редактирования нажмите кнопку '''Выберите файл'''.
# After the '''Change''' button becomes active, click on her.
# После того, как кнопка '''Change''' станет активной, нажмите на нее.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
== Transfer to another controller ==
== Перенос на другой контроллер ==
Sometimes you need to make a backup copy of the svg-panel, for example, to transfer to another controller. To do this, you need to save the svg file converted by the editor and the description of its links and upload them to another controller.
Иногда нужно сделать резервную копию svg-панели, например, для переноса на другой контроллер. Для этого нужно сохранить преобразованный редактором svg-файл и описание его связей и загрузить их на другой контроллер.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
Please note that the names of the MQTT topics on both controllers must match. If this is not the case, svg elements will need to be attached to new MQTT topics.
Учтите, что на имена MQTT-топиков на обоих контроллерах должны совпадать. Если это не так — svg-элементы нужно будет привязать к новым MQTT-топикам.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
<div lang="ru" dir="ltr" class="mw-content-ltr">