Programming - First steps
P.
86 of 349
Detailed web server example
In the entrance area at the
Enertex® Bayern GmbH
Main page of visualization
The following is a complete visualization of a building. This visualization is active in the foyer of the
Enertex building on a 27-inch HP - Android panel.
This visualization has been developed within the scope of an internship and explains the essential
points in the programming and creation of the web pages.
Figure 40:HP Android based visualization
The aim is to visualize status display with a central switching possibility of the house control as well
as weather information on several pages.
Let's start with the main page, which is shown as follows:
Figure 41:Main page of visualization
At the beginning, we want to allocate our structure to the programming in the EibStudio, this
classification is necessary for the functionality of the instructions. Basically there are different
sections marked with "[]". In these sections, we will introduce sub-points where step-by-step (//)
descriptions, variables are defined, web server pages are added, or statements are issued.
[
MacroLibs
]
/Libraries/InternEnertexWebV3.lib
[
ETS-ESF
]
//
[
WebServer
]
//
[
Macros
]
//
[
EibPC
]
//// Declarations
//// Functions
To create our first page in the EibPC, a page ID is required. If possible, this should reflect the display
component of the page and is written to the [
EibPC
] section.
HandbuchEibPC_USA-30.odt, 2017-05-11
Enertex
®
Bayern GmbH - Erlachstraße 13 - 91301 Forchheim - [email protected]