Panel with weekly numeric scheduler.
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.
- Preconfiguration creates an object of type PmPanel
with preconfigured name of "ScheduleWeek"
- In the panel (ScheduleWeek
by default) there are the PmiButton
items embedded into the PmiPanel
object The panel has the GetTime
methods. The GetTime
method is used for setting the time mode (summer/winter). The ChangeMinute
method is used by the small buttons with arrows providing the timeline movement. The ReadData
method is called by the button for loading the time intervals saved in the selected device. In the preconfiguration, the emulated data is provided. Originally it is designed for communication with selected device (the device
parameter) in order to load the time interval and send it for displying (in timemode
parameter mode. The SaveData
method is an opposite of the ReadData
method. The ReadDataFromFile
method is called from the button used for loading the time intervals saved in the file for corresponding device. It returns a data array
loaded from corresponding *.csv
file. The SaveDataToFile
method is an opposite of the ReadDataFromFile
- 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 of the window with a complex PmiPanel
graphic item. There are the text items, editing text and small buttons inserted into it. And additionaly the switch for selecting the device, the switch for loading the summer/winter mode, the Load from file
button for loading the time intervals saved in a file of the corresponding device, the Save to file
button for saving the time intervals into a file of the corresponding device, the Load from device
button loading the time intervals saved in the selected device and the Save to device
button for saving the time intervals into the selected device.
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.
This preconfiguration is used in PreCfg - Preconfiguration examples