Panel with weekly scheduler with device selection.
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 / Schedulers" group.
This preconfiguration can be created in the
PmaFolder,
PmaRoot,
PmaPanel,
PmaWorkspace or
PmaPrototype object.
- The preconfiguration creates two
PmaPanel objects. The main object name is preconfigured to
"ScheduleWeek" and the embedded named
"SetAction".
- The main window
"ScheduleWeek" contains the compound object
PmgBox. Following objects are embedded inside: the
PmgWTable object, description texts, buttons for adding and inserting new configuration item, button for editing the configuration item, buttons for listing up and down, button for loading the configuration and button for saving the configuration. The embedded window contains double state buttons for selection of the day of the week, editing texts with buttons for entering the time, switches for device, action and parameter selection, button for confirming the configuration, scroll button.
- The preconfiguration is created including the panel (object of the
PmaPanel type) is functional also as
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).
The preconfiguration is designed for planning the actions in a technology, containing devices with the possibility of independent time planning.
The device list is published in text form in the
"GetDevice" method of the main panel.
The action list in the
"GetAction" method and
the parameter list in the
"GetParam" method. Each table row consists of the commands entered to the control system for executing the actions in corresponding devices according to the defined time dependencies. The
ConvertDataArrayToByte and
ConvertDataArrayToString methods are used for conversion of the text values in the visualization into binary or indexing values of the control system and back. The
LoadData and
SaveData methods read and save the data into a
JSON file.
The
Add and
Insert buttons open the "
SetAction" window (by the
CreateView method) that can be entered the
time data, choose the
device,
action name and
action parameter. After confirmation, a new row with entered parameters is added or inserted. The
edit button opens the same modal window, that contains the row data used for editing. The buttons with arrows allow to move the selected row in the table order. The
load button calls the designer
"LoadData" method and the received data array is written into the table columns and rows. The
Save button reads the values from the table rows and columns into the
JSON format and transmits it as a parameter to the
"SaveData" method for saving.
These configurators can be set before the preconfiguration is created:
The name of created object | Name 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: "ScheduleWeek" |
|
Panel title | User 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. |
Permissions | On this tab permissions of the object are defined. See the "Permission" tab of the PmaObject object. |
Member of logical groups | The 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 component | Specifies 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. |
---|