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 by pressing the Insert
key after selecting the object) and is included in the group: " / Panels (PmPanel) / Scheduler"
This preconfiguration can be used with the objects: PmFolder, PmRoot, PmPanel or PmWorkspace.
- The preconfiguration creates two PmPanel
type object. The main named "ScheduleWeek"
and the embedded named "SetAction"
- The main window "ScheduleWeek"
contains the complex PmiPanel
graphic item. Following objects are embedded inside: graphic ActiveX object PmTable
, description texts, buttons for adding and inseting new configuration items, 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 (PmPanel
object) functionality as a Web panel
. In order to make the preconfiguration functional also for the Web, it is necessary to enable the PmPanel
object for the Web (on the Web server
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
methods are used for converting the text values in the visualization into binary or indexing values of the control system and back. The ReadData
methods read and save the data into a csv
buttons open a SetAction
window (using the OpenView
method) that can be used for entering 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 application object tree. This is a system name and must not contain empty string, diacritics, 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 PmPanel.Title and PmiRoot.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: PmPanel > Panel > Panel title.
|Permissions||On this page permissions of the object are defined. See Description of the page Permissions.|
|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: PmObject > Object > Member of logical groups.
|Enable as Web component||It indicates if this object has to be registered as a Web server component |
After this preconfiguration is created, the configurator is se to: PmPanel > Web server > Enable as Web component.