Update cookies preferences
Promotic

Preconfiguration "Heating curve viewer - viewing and setting"

This preconfiguration can be activated when creating a new object (e.g. by "New object ..." in the context menu of the object or by pressing the Insert key after selecting the object).
 
This preconfiguration is included in the "/ Technology / Heating" group.

- The preconfiguration creates an object of the PmaPanel type. The main object name is preconfigured to "PanelHeatCurve".
- The preconfiguration is created including the panel (object of the PmaPanel type) is functional also as Web panel.


The preconfiguration allows to display and edit multiple points of weather compensated heating curve. The progression data is obtained by calling the LoadData panel method and saved by SaveData method.

The area of data entry chart consists of two immersed PmgCanvas objects. The outer Pmg object draws the axes x and y and value descriptors. These can be modified by methods DrawScaleX or DrawScaleY on the "Draw" tab and also by altering the corresponding variables on the "Variables" tab.

The inner PmgCanvas object named "Dynamic" draws the progression of heating schedule based on valX and valY variables on the "Variables" tab. On the "Methods" tab, there are methods used for loading, saving and editing the curve.

On the "Events" tab in 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 PmgRadioButton object.
The script allows:
in the state 1 to move the closest point in both x and y direction
in the state 2 to delete the closest point
in the state 3 add a new point
The values are with the precision of 1/2 °C.

The preconfigured buttons LoadData and SaveData call the corresponding panel methods and serves for loading or for saving the heating curve. These methods must be modified in order to cooperate with the technology that is currentlu used.

The PmgNumber input box allows to edit the value of a single point. The + and - buttons allow the collective editing of all points.
These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the Pma object tree.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and first character must not be a number.
Default: "HeatCurve"
Panel titleUser name of the panel that is displayed for example in:
- in the window title bar (if is opened outside the workspace)
- in the panel list obtained for example by the FindViewers method

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 the preconfiguration is created, the "PmaPanel > Panel > Panel title" configurator will be set to this value.
PermissionsOn this tab permissions of the object are defined. See the "Permission" tab of the PmaObject object.
Member of logical groupsThe list of the logical groups identifiers (the comma ',' is the separator), the object belongs into (it is a group member), see the "Logical groups" configuration window.
The logical group selection can be done in the "Member of logical groups" window.
After the preconfiguration is created, the "PmaObject > Object > Member of logical groups" configurator will be set to this value.
The lowest outer temperature of the heating curve rangeX-axis - The lowest outer temperature of the heating curve range
The highest outer temperature of the heating curve rangeX-axis - The highest outer temperature of the heating curve range
Enable as Web componentSpecifies whether this object has to be registered as a Web server component
After the preconfiguration is created, the "PmaPanel > Web server > Enable as Web component" configurator will be set to this value.
PmaWeb objectPath in the Pma object tree to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out.
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > PmaWeb object" configurator will be set to this value.
Web component identifierSpecifies unique identifier of this Web component.
The full URL address to this component is then for example:
"http://ComputerName:Port/Identifier"
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > Web component identifier" configurator will be set to this value.
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.