Object PmaRoot

The object is the root of the objects tree, its name is "PmaRoot" and there is just one present in each application. This object represents the whole application.

This object can't be removed or moved in the Pma objects tree. The object defines basic parameters of the application on its tabs. In this object the same objects can be created as in the PmaFolder object.

PmgRoot object fulfills similar role in the Pmg objects tree in the graphics editor.
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
AddEventTimer()Unrepeated or repeated calling of the event function after a defined time period
RemoveEventTimer()Cancelling the unrepeated or repeated calling of function after a defined time period
Properties and methods inherited from the PmaObject object:
AddEvent()Registers a function into the specified event
GetInfo()Returns the Info object with the specified name
GetOwnedByIndex()Returns the subobject defined by its index
GetOwnedByName()Returns reference to the subobject defined by its name
GetOwnedByType()Array of references to the subobjects
GetOwnedNum()Returns number of subobjects in the object
GetPar()Reading the value of the Pma object parameter (or its parents)
GetPathName()Object name with the path to this object
GetPermission()Returns permission of corresponding operation from object
MethodsAccess to designer's methods of this object
NameObject name (without the path)
ParentReturns reference to the parent Pma object
Pm()Returns reference to the Pma object or to its implementation subobject
RemoveEvent()Unregisters the function in the specified event
RootReturns reference to the root application object PmaRoot
Events of this object:
onAppErrorIs triggered when a global error in the application occurs
onAppSignalIs triggered after starting the program PmSignal.exe
onAppStartBeginIs triggered immediately after the application is launched
onAppStartEndIs triggered after completion of the application start
onAppStopBeginIs triggered after the command for halting the application
onAppStopEndIs triggered after halting the application
onKeyPressIs triggered after pressing or releasing any key
onSystemMenuFillIs triggered when the system menu is displayed
onSystemMenuSelectIs triggered on the selection of an item from the application system menu
onTimeChangeIs triggered on the change of the computer system time
onUserLogoffIs triggered after the confirmation of the user log-off from the running application
onUserLogonBeginIs triggered after confirmation of the user log-on into the running application
onUserLogonEndIs triggered after successful loggin-in user to running application
Events inherited from the PmaObject object:
onStartIs triggered for each object in runtime only once at the beginning
onStopIs triggered for each Pma object in runtime only once at the stop of the application
Configuration tabs:
ObjectGeneral information about the object
EventsDefinition of object events algorithms
MethodsDefinition of designer's method of the object
ApplicationBasic settings of the application
AppearanceDefinition of the running application appearance
PermissionsObject permissions
UsersUsers and user groups definition
OtherSetting other properties and application components

Pm8.00.09: The following configurators were improved: PmaRoot > Application > Main language of runtime and PmaRoot > Application > All used languages - now all the languages can be entered directly supported by the PROMOTIC system (see Fully supported languages in the PROMOTIC system), but also many other languages, that are not directly included as translations in the PROMOTIC system, but can be added by user translated texts (see Fully supported languages in the PROMOTIC system).
Pm9.00.00: Object name changed: PmRoot -> PmaRoot
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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