This preconfiguration can be activated when creating a new object (e.g. by "New object"
in the local object menu or by pressing the Insert
key after selecting the object) and is included in the group: " / Technology / Heating"
- Preconfiguration creates an object of type PmPanel
. The main object name is preconfigured to "Heat daily plan"
- The preconfiguration is created including the panel (PmPanel
object) functionality as a WEB panel
The preconfiguration allows to display and edit daily heating schedule with desired temperatures. The progression data is obtained by calling the LoadData
method and saved by SaveData
The area of data entry chart consists of two immersed PmiCanvas
items. The outer item draws the axes x
and value descriptors. These can be modified by methods DrawScaleX
on the Draw
page and also by altering the corresponding varibales on the Variables
The inner PmiCanvas
item named Dynamic
draws the progression of heating schedule based on valX
variables on the Variables
page. On the Methods
page, there are methods used for reading, saving and editing the curve.
On the Events
page of the onMousePress
event, there is a script that reacts to the mouse click in the area of the viewer depending on the status of the PmiButtonRadio
The script allows:
in state 1 to move the closest point in both x and y direction
in state 2 to delete the closest point
in state 3 add a new point
The point coordinates in the time axis are rounded off to the closest 15 minute segment. The values are rounded-off to 1/2 °C accuracy.
The preconfigured buttons LoadData
call the corresponding panel methods and are used for loading or saving the values of function progression. These methods must be modified in order to make them communicate with the currently used technology.
input item allow to edit the value of a single point. The +
buttons allow the collective editing of all points.
These configurators can be set before the preconfiguration is created:
|The name of created object||Name of the object created in the application object tree. This is a system name and must not contain empty string, diacritics, spaces and the first character must not be a number.|
|Panel title||User name of the panel that is displayed for example in: |
- in the window title bar (if opened outside the workspace)
- in the panel list obtained for example by the FindViewers
This configurator sets the initial value of the property PmPanel.Title and PmiRoot.ViewerTitle.
Macro expression can be used for input ($.text ..) (it is evaluated while the window is opening).
After this preconfiguration is created, the configurator is se to: PmPanel > Panel > Panel title.
|Permissions||On this page permissions of the object are defined. See Description of the page Permissions.|
|Member of logical groups||The list of the identifiers of the logical groups (the comma ',' is the separator), the object belongs into (it is a group member), see Logical groups. The logical group selection can be done in the Member of logical groups window. |
After this preconfiguration is created, the configurator is se to: PmObject > Object > Member of logical groups.
|Minimum of the temperature range||Y-axis - Minimum of the temperature range|
|Maximum of the temperature range||Y-axis - Maximum of the temperature range|
|Enable as WEB component||It indicates if this object has to be registered as a WEB server component |
After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > Enable as WEB component.
|PmWeb object||Path in the objects tree to the PmWeb, PmWebFolder or PmWebLang object where the registration is carried out. |
After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > PmWeb object.
|Web component identifier||It specifies unique identifier of this WEB component. The full URL address to this component is then for example: |
Macro expression can be used for input (it is evaluated while the application is launching).
After this preconfiguration is created, the configurator is se to: PmPanel > Web Server > Web component identifier.