The panel with weekly scheduler.
This preconfiguration can be activated when creating a new object (e.g. by
"New object ..." in the context menu of the object or by pressing the
Insert key after selecting the object).
This preconfiguration is included in the
"/ Technology / Schedulers" group.
This preconfiguration can be created in the
PmaFolder,
PmaRoot,
PmaPanel,
PmaWorkspace or
PmaPrototype object.
- The preconfiguration creates an object of the
PmaPanel type with a preconfigured name of
"ScheduleWeek".
- The preconfiguration of the window with preconfigured
PmgWTable graphic object. It contains the button for saving the configuration of timespans defined graphicaly and a switch for loading the program.
- The preconfiguration is created including the panel (object of the
PmaPanel type) is functional also as
Web panel. In order to make the preconfiguration functional also on the Web, it is necessary to enable the object of the
PmaPanel type for the Web (on the "
Web server" tab).
In the panel (default
ScheduleWeek) there are objects
PmgButton,
PmgWCombo and two
PmgWTables. The first table represents the daily time schedule within one week divided into half-hour intervals.
In the
onPanelStartEnd event the
"LoadData" method is called which detects the valid current program found in the parameter by the
GetProgram method. The
"LoadData" method then loads and processes the stored values into the first table in graphic form and into the second in numeric form.
On the "
Events" tab in the
onMousePress event there is a script responding to mouse click inside the viewer area depending on the status of the
PmgRadioButton object.
The script allows:
in 1 state, to move the closest point in Y-axis.
These configurators can be set before the preconfiguration is created:
The name of created object | Name of the object created in the Pma object tree.
The maximum name length is 30 characters.
This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and 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 is 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 logical groups identifiers (the comma ',' is the separator), the object belongs into (it is a group member), see the "Logical groups" configuration window.
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. |
|
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. |
---|
This preconfiguration is used in
PreCfg - Preconfiguration examples.