Promotic

Preconfiguration "Wind rose"

The panel showing circular sections indicating the ratio of forces acting from different directions.

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: "/ Panels (PmaPanel) / Trends and graphs".
This preconfiguration can be created in the object: PmaFolder, PmaRoot, PmaPanel or PmaWorkspace.
The preconfiguration is created including the panel (object of the PmaPanel type) is functional also a Web panel. In order to make the preconfiguration functional also on the Web, it is necessary to enable the object of the PmaPanel type for the Web (on the "Web server" tab).

Preconfiguration is primarily designed to graphically display the wind force acting from different directions over a specified time. The object in the onStart event triggers the Init method to set the labels and speed limits, and also the SetData method with the input time parameters to emulate the data to be displayed. The data needed to display the wind rose is stored in the Data, Titles, and Limits variables. In order to achieve correct graphical results, it is assumed that the sum of all values from all directions and the value for no wind is 100%. The onDraw event contains a script that plots this data. In its introduction there are settings that can be used to modify the appearance.

The panel contains additional graphic objects that are used to specify the data requirements. These decide which of the GetData4, GetData8 or GetData16 methods of the panel will be used to get the data. All of these methods contain only examples.
These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the tree of Pma objects. The maximum name length is 30 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.
Default: "PanelWind"
Panel titleUser 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 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.
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.
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.

History:
Pm9.00.22: Created
PROMOTIC 9.0.22 SCADA system documentation - MICROSYS, spol. s r.o.

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