Preconfigurations Weekly scheduler with device selection

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 page).
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 as a text 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 (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 objectName 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.

Default: "ScheduleWeek"

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 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.

PermissionsOn this page permissions of the object are defined. See Description of the page Permissions.
Member of logical groupsThe 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 componentIt 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.

© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice