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

Новая страница: «Using transitions, you can create multi-page interfaces: # Draw a custom picture for each page. # Load these pictures into the controller. # Select a panel for one of the three events to navigate to.»
(Новая страница: «To associate an image svg element with values or events, select it with the mouse, after which fields for setting the element's behavior will appear next to the image. {{SupportedSinceRelease | release = wb-2307 |content= In addition to selecting a single element, you can select a group. To do this, hold down the Alt key on your keyboard and click on one of the elements of the group. The group containing the element will be highlighted. Clicking again while...»)
(Новая страница: «Using transitions, you can create multi-page interfaces: # Draw a custom picture for each page. # Load these pictures into the controller. # Select a panel for one of the three events to navigate to.»)
Строка 159: Строка 159:
In the '''Channel''' field, select the MQTT topic for writing values, and in the '''On State Value''' and '''Off State Value''' fields specify which values correspond to the states.
In the '''Channel''' field, select the MQTT topic for writing values, and in the '''On State Value''' and '''Off State Value''' fields specify which values correspond to the states.


<div lang="ru" dir="ltr" class="mw-content-ltr">
For example, to switch a relay, specify:
Например, для переключения реле нужно указать:
<syntaxhighlight lang="javascript">  
<syntaxhighlight lang="javascript">
On value = 1
Значение включенного состояния = 1
Off value = 0
Значение выключенного состояния = 0
</syntaxhighlight>
</syntaxhighlight>
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
=== Jump and swipe ===
=== Переход и смахивания ===
{{SupportedSinceRelease
{{SupportedSinceRelease
| release = wb-2307
| release = wb-2307
|content=
|content=
[[Image: svg-tap.png |300px|thumb|right| Создание перехода ]]
[[Image: svg-tap.png |300px|thumb|right| Creating a transition ]]
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
Using transitions, you can create multi-page interfaces:
С помощью переходов можно создавать многостраничные интерфейсы:
# Draw a custom picture for each page.
# Нарисуйте для каждой страницы свой рисунок.
# Load these pictures into the controller.
# Загрузите эти рисунки в контроллер.
# Select a panel for one of the three events to navigate to.
# Выберите для одного из трёх событий панель, куда надо переходить.
</div>


<div lang="ru" dir="ltr" class="mw-content-ltr">
Events available: single and long press, as well as swipe left and right.  
Доступны события: одиночное и длинное нажатие, а также смахивание влево и вправо.
</div>


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