Русская версия
Українська версія?
| Module: | WebCfg |
| Name: | The system configurator (Web) |
| Type: | User Interfaces |
| Source: | ui_WebCfg.so |
| Version: | 1.5.3 |
| Author: | Roman Savochenko |
| Description: | Provides the WEB-based configurator of the OpenSCADA system. |
| License: | GPL |
The WebCfg module provides the configurator of the OpenSCADA system. Configurator is based on Web-technologies. For configurator working it is enough the usual WEB-Browser. The operability of the module <WebCfg> was tested in conjunction with modules <Transport.Sockets> and <Protocol.HTTP> on the following Web-browsers:
The module is based on the language of management interface of OpenSCADA system, and thus provides a uniform configuration interface. Updating of the module may be required only in the case of updating the specification of the language of management.
In addition to the belonging of the module to the OpenSCADA system, it also belongs, is a module, to the module transport protocol <HTTP>. Actually, the call ~ WebCfg makes from of HTTP. The call is made through enhanced communication mechanism through exported in module ~ WebCfg features: HttpGet and HttpSet.
The interface of the module is implemented by means of the language XHTML 1.0 Transitional with inclusions of the JavaScript.
Using the module starts with the opening session, the user authentication of the user module by the protocol HTTP (Protocol.HTTP) (Fig. 1). For the operation of the authentication and session saving mechanism the browser must allow Cookies.


After authenticating the user enters the operating window (Fig.2), which consists of the following parts:
1.Header - contains the name of the module.
2.Control Panel. Consists of:
2.1.Navigator - serves the navigation functions throug the tree of pages.
2.2.The name of the node.
2.3.User of the System - Displays the current user of the session, his address and lets you to change the user.
3.Workplace field - contains the configuration settings of language of management interface, starting with the root tabs to the end elements.
4.Footer - contains the address of current page.
Адресация страниц начинается с элемента второго уровня URL. Это связанно с тем, что элемент первого уровня используется для идентификации модуля пользовательского Web-интерфейса. Например URL: <http://localhost.localdomain:10002/WebCfg//Functions> можно расшифровать как вызов страницы первого уровня “Functions” Web модуля <WebCfg> на хосте localhost.localdomain через порт 10002.
Элементы управления делятся на: базовые, команды, списки, таблицы и изображения. Все четыре типа отображаются отдельными блоками, в не зависимости от их расположения в описании.
В число базовых элементов входят: информационные элементы, поля ввода значений, элементы выбора из списка, флаги. Для установки новых значений базовых элементов используется групповой метод, для этого на форме существует кнопка “Принять”. В случае отсутствия имени элемента, базовый элемент стыкуется к предыдущему базовому элементу. Пример группы базовых элементов, со стыковкой, приведён на рис.3.

Команды это элементы для передачи определённых действий узлу и организации ссылок на страницы. Команды могут содержать параметры. Параметры формируются из базовых элементов. Пример команды с параметрами приведен на рис.4.

Списки содержат группу базовых элементов одного типа. Для операций над элементами списка добавляются дополнительные кнопки. Кроме того, через элементы списка выполняются операции перехода на другие страницы. Для перехода добавляется кнопка “Перейти”. Списки могут быть индексированными. Пример списка с переходом приведен на рис.5.

Таблицы содержат значения базовых элементов. Тип базового элемента определяется отдельно для каждой колонки. Пример таблицы приведен. на рис.6.

Изображения призваны передавать графическую информацию в конфигураторы. Пример изображения приведен на рис. 7.
