Update cookies preferences
Promotic

Preconfiguration "Periodic time scheduler for running programmed tasks."

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) and is included in the group: "/ Technology / Schedulers".

- The preconfiguration creates an object of the PmaFolder type. The main object name is preconfigured to "TaskScheduler".
- The preconfiguration is created including the panel (object of the PmaPanel type) is functional also as Web panel.


Preconfiguration of PmaFolder with preconfigured objects PmaPanel, PmaDataTable and PmaFolder named Task with PmaFolder subobjects programmed for the required task.

The Panel contains a table (PmfTable) with controls that can be used to periodically set the repetition of a task (subfolder of Tasks). This can be done once or multiple times in the range of hour (day, week or month).

The tasks themselves are programmed in PmaFolder objects, which are subfolders of the Tasks object. They have a user interface represented by the GetParams and Call methods.
The "GetParams" method publishes a list of usable parameters for the Call method.
The "Call" method then programs the desired task using the parameter if applicable.
The number of objects is not limited and each object can be programmed for a different desired task.

The PmaDataTable object is used for continuous running of planned tasks. And also to store and retrieve the required task configuration. It is also used for saving the configuration state into a file in the JSON format and reloading it.
These configurators can be set before the preconfiguration is created:
The name of created objectName 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: "TaskScheduler"
Enable as Web componentSpecifies 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.
PmaWeb objectPath in the Pma object tree to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out.
Macro expression can be used for input (it is evaluated after the application is launched).
After the preconfiguration is created, the "PmaPanel > Web server > PmaWeb object" configurator will be set to this value.

History:
Pm9.00.25: Created
PROMOTIC 9.0.29 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.