Panel with weekly scheduler with device selection.
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) / Scheduler".
This preconfiguration can be used with the objects: PmaFolder, PmaRoot, PmaPanel or PmaWorkspace.
- The preconfiguration creates two
PmaPanel objects. The main named
"ScheduleWeek" and the embedded named
"SetAction".
- The main window
"ScheduleWeek" contains the compound object
PmgPane. 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 selecting the days, 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 a
Web panel. In order to make the preconfiguration functional also for the Web, it is necessary to enable the object of the
PmaPanel type for 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 converting the text values in the visualization into binary or indexing values of the control system and back. The
ReadData and
SaveData methods read and save the data into a
CSV file.
The
Add and
Insert buttons open a
SetAction window (by the
OpenView method) that can be entered the
time data, select 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 allows to move the selected row in the table order. The
load button calls the
ReadData 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 an array 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 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: "ScheduleWeek" |
---|
|
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 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 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 the preconfiguration is created, the "PmaObject > Object > Member of logical groups" configurator will be set to this value. |
---|
|
Object scripting language | Application object scripting language 0 - vbscript 1 - javascript |
---|
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. |
---|