Update cookies preferences
Promotic

Prototypes and instances

If the PROMOTIC application contains a large number of similar objects or their logical groups then it can be handy to use Prototype (template) and Instance (evaluated copy of the template) objects.

Each instance of the PmaPrototype object (of the PmgPrototype object) differs inly with the values of its parameters of the Pma object (parameters of the Pmg object).
The prototype (both application and graphics) can also contain the instances of other objects.

The prototypes (Pma and Pmg) can be placed:
- Locally (local prototype)
- The PmaPrototype object is in this case located anywhere in the Pma objects tree (in PmaFolder or PmaRoot object).
- The PmgPrototype object is in this case located in the Pmg objects tree in branch /#Prototypes.
- Globally (global prototype).
- The PmaPrototype object is in this case located in the Pma objects tree in branch /#Global/PmaPrototypes.
- The PmgPrototype object is in this case located in the Pma objects tree in branch /#Global/PmgPrototypes.

History:
Pm9.00.10: Bugfixes and improvements of local and global Pma and Pmg prototypes.
- when renaming the prototype it is possible to choose whether the name of the prototype is to be changed also in all its instances
- when removing the prototype it is possible to choose whether all instances are to be removed together with the removal of the prototype
- in the prototype selection window, it is now possible to create new local/global Pma or Pmg prototype
- the PmaFolder object can now be copied into a new PmaPrototype global object
- the PmgBox object can now be copied into a new PmaPrototype global object
Pm8.02.00: New objects PmgPrototype and PmgInstance have been created.
These objects allow to create a set of common items (instances) based on a common template (prototype). The instances may differ only by position, parameters and variables - everything else is defined in the prototype.
The basic advantage is that by modifying the prototype all its instances are also modified. The comcept is similar as for the objects PmaInstance and PmaPrototype.
Pm8.00.06: New objects PmaPrototype and PmaInstance have been created.
These objects allow to create prototypes and instances and can significantly simplify creation and maintenance of the application in cases when multiple similar object subtrees are present (e.g. if there are multiple boilers in the biler room containing similar data).
In one prototype (the PmaPrototype object representing for example a boiler) the complete structure of objects and subobjects is created and the PmaInstance objects then represent the specific usage of the template (i.e. will represent for example Boiler1, Boiler2, ...).
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

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