Preconfiguration "Weekly scheduler with arbitrary number of time periods"

Weekly scheduler panel with time periods.
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.

This panel allows to display nad edit weekly schedule with input and output data (user methods LoadData and SaveData) stored in 2-dimensional array or as csv string.

Data structure of single item:

- day of the week (1 = Monday)
- starting time in format HH:MM:SS or HH:MM:SS.TTT
- value
- Preconfiguration creates an object of type PmPanel with preconfigured name of "ScheduleWeek".
- In the panel (default ScheduleWeek) there are internal graphic items PmiButton and PmTable inserted in the PmiPanel object. The control interface is based on methods and events of the PmiAx table graphic item. New modal window EditItem is opened in order to edit or add and item in the scheduler.
- 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).
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 diacritics, empty string, 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.

This preconfiguration is used in PreCfg - Preconfiguration examples.
PROMOTIC 8.3.20 SCADA system documentation - MICROSYS, spol. s r.o.

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