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 local object menu 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

The Panel contains a table (PmfTable) with controls that can be used to periodically set the repetition of a task (subfolders of Tasks). This can be done once or multiple times in the range of an 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 to a file in 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 tree of Pma objects. 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 chars), empty string, spaces and the 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 tree of Pma objects to the object PmaWeb, PmaWebFolder or PmaWebLang where the registration is carried out.
Macro expression can be used for input (it is evaluated after starting the application).
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.25 SCADA system documentation MICROSYS, spol. s r.o.

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