Example is placed in the folder: /Pm/Examples/Demo
The application is used for presenting the capabilities of the PROMOTIC system. It is designed not to exceed the limit of 30 variables and 10 graphic panels (see PmRtFree - Free runtime license). Multipte panels are being switched automatically after apllication launch. These panels represent various industrial technologies. Some panels have been taken from real systems with the permission of system owners. All data values, alarms and events are emulated.
The basic control is done by buttons in the PmPanel object configured as ToolBar that is located as a subobject in the PmWorkspace. Swithing the panels in "Auto" mode is done by using the script in the onRefresh event of the "SlideShow" button.
Alarm and event emulation PmAlarmEvent is done after making the corresponding selection by calling the user method Methods defined in the Methods page of the PmFolder object named /Manager.
The application workspace is represented by the PmWorkspace
object. It has two PmPanel
type subobjects. One represents the About
window and the second is the Toolbar
. On the page PmWorkspace > Frames
the application workspace is separated into:
- The "toolbar" frame positioned on the upper side. It has a static size and is connected to Toolbar subobject.
- Frame "main" is taking the rest of the area dedicated for the application panels.
Panel representing the Toolbar
panel represents the application toolbar and is located as PmWorkspace
subobject. In each button (of PmiButton
type) the application panels switching is activated.
The folder /Applications
contains multiple subfolders with PmPanel
items. If the panels use access to the items of the PmData
object, then the connection is made to the object located in the /EmulData/Data
folder. The PmTrend
objects located in these folders are connected by ExtTrend
to the PmData
folder contains further folders where additional PmPanel
are stored. In the panels, there are, for example, graphic ActiveX
) or the motion animation is being solved there together with the PmiCanvas
item usage. The PmReport
objects represent the example of print protocols and alarm reports.
) allows the application to be offered as Web server (Overview of the Web technology in the PROMOTIC system
). In this object additional objects are inserted allowing more application technologies PmWebDir
(language independent objects), PmWebFolder
to be accessed via Web. It contains additional objects that are offered to Web in selected language.
This layout enables logical sorting of the objects acessed via Web in the Web server page of the PmData, PmTrend, PmPanel and PmAlarmEvent objects.
In the PmWeb object the default path is changed to user folder webdir containing the index.htm file. It means that the Web client after entering the http://computername URL addres into the Web browser will display the first user page index.htm located in the webdir subfolder in the application folder.