Object PmaObject (Object)
Description:
The object is the parent of all Pma objects, it means that all Pma objects have also properties and methods of this object besides their own properties and methods.
The PmaObject object contains common properties and methods that can be used with all other objects. It is the abstract Pma object, it means that it cannot be created in the Pma object tree. So it is only the formal object where all common features of all Pma objects are recorded.
Properties and methods:
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() | Returns an 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 |
Methods | Access to designer methods of this object |
Name | Object name (without the path) |
Parent | Returns 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 |
Root | Returns reference to the root application object PmaRoot |
Events:
onStart | Is triggered for each object in runtime only once at the beginning |
onStop | Is triggered for each Pma object in runtime only once at the stop of the application |
Configuration tabs:
Object | General information about the object |
Events | Definition of object events algorithms |
Data | List of defined variables. The tab is common to more objects. The common description is in the PmaObject object. |
DDE | Definition of conditions for DDE sharing the variables |
Methods | Definition of designer method of the object |
Permission | This tab is common for multiple Pma objects (PmaRoot, PmaWorkspace, PmaWeb, PmaWebDir, PmaWebInfo, PmaWebFolder, PmaWebLang, PmaTrendGroup, PmaData, PmaDataTable, PmaAlarmGroup, PmaReport) and therefore the common configuration description is published on the "Permission" tab of the PmaObject object.
But the "permissions list" is published for the corresponding object individually in its description of this tab |
Related objects:
PmUser | (User) Object represents a logged on user |
PmVar | (Variable) Object represents one data item of the object |
History:
Pm9.00.00: Object name changed:
PmObject ->
PmaObject