This preconfiguration can be activated when creating a new object (e.g. by "New object"
in the local object menu or after pressing the Insert
key after selecting the object) and is included in the group: " / Technology / Heating"
- Preconfiguration creates an object of the PmaPanel
type. The main object name is preconfigured to "Plan heat weekly"
- The preconfiguration is created including the panel (object of the PmaPanel
type) is functional also a Web panel
The preconfiguration allows to display and edit week 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 PmgCanvas
objects. The outer Pmg
object draws the axes x
and value descriptors. These can be modified by methods DrawScaleTime
on the "Draw
" page and also by altering the corresponding varibales on the "Variables
The inner PmgCanvas
object named Dynamic
draws the progression of heating schedule based on day1(7)
variables on the "Variables
" page. On the "Methods
" page, there are methods used for reading, saving and editing the curve.
On the "Events
" page in the onMousePress
event there is a script responding to mouseclick inside the viewer area depending on the status of the PmgRadioButton
The script allows:
in 1 state, to move the closest point in y axis
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 box 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 tree of Pma objects. The maximum Pma object name length is 31 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics, empty string, 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 PmaPanel.Title and PmgRoot.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: PmaPanel > Panel > Panel title.
|Permissions||On this page permissions of the object are defined. See Description of the Permission page.|
|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: PmaObject > Object > Member of logical groups.
|Object scripting language||Application object scripting language|
0 - vbscript
|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||Specifies whether this object has to be registered as a Web server component |
After this preconfiguration is created, the configurator is se to: PmaPanel > Web server > Enable as Web component.
|PmaWeb object||Path in the tree of Pma objects to the PmaWeb, PmaWebFolder or PmaWebLang object where the registration is carried out. |
Macro expression can be used for input (it is evaluated after starting the application).
After this preconfiguration is created, the configurator is se to: PmaPanel > Web server > PmaWeb object.