OpenSCADAWiki: Home Page En/Doc/ Web Cfg ...

Home | Каталог | Изменения | Комментарии | Пользователи | Регистрация | Вход  Пароль:  
Russian (1 Кб) Русская версия
Ukrainian (1 Кб) Українська версія?

The module <WebCfg> of subsystems "User Interfaces"

Name:The system configurator (Web)
Type:User Interfaces
Author:Roman Savochenko
Translated:Maxim Lysenko
Description:Provides the WEB-based configurator of the OpenSCADA system.



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.

User authentication. (14 Кб)
Fig.1. User authentication.

Structure of the operating window of the user. (48 Кб)
Fig.2. Structure of the operating window of the user.

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.

Addressing of the pages begins with an element of second-level URL. This is due to the fact that the first-level element is used to identify the module of user Web-interface. For example URL: "http://localhost.localdomain:10002/WebCfg//Functions" can be deciphered as call of the first-level page “Functions” of the Web module "WebCfg" on the host localhost.localdomain through the port 10002.

The control tools are divided into: basic, commands, lists, tables and images. All four types are displayed by individual units not depending on their location in the description.

1. Basic elements

The basic elements include: information elements, the field for input of the values, the elements of combo box, flags. To set the new values of the basic elements the group method is used, for this there is a button "Accept" on the form. In the case of the absence of an element name, the basic element connects to the previous one. Examples of basic elements, with connections, is shown in Fig.3.

The basic elements and their connections. (27 Кб)
Fig.3. The basic elements and their connections.

2. Commands

Commands are the elements for the transfer of the certain instructions of the action to the node and for the organization of the links on the page. Commands may contain parameters. The parameters are formed from the basic elements. Example of the commands with the parameters is shown in Fig.4.

Command. (7 Кб)
Fig.4. Command.

3. Lists

Lists contain a group of basic elements of the same type. For operations on elements of a list the additional buttons are added. In addition, through the elements of a list the moving operations to other pages are carried out. To move the button "Go" is added. Lists can be indexed. Example of the list with the moving is shown in Fig.5.

The list. (13 Кб)
Fig.5. The list.

4. Tables

The tables contain values of basic elements. Type of the basic element is defined separately for each column. Example of the table is shown in Fig.6.

Table. (39 Кб)
Fig.6. Table.

5. Images

The images are designed to transmit graphic information into the configurators. Example of the image is shown in Fig. 7.

Image. (23 Кб)
Fig.7. Image.


Страницы, ссылающиеся на данную: HomePageEn/Doc

Много файлов (8).[Показать файлы/форму]
Комментариев нет. [Показать комментарии/форму]