Promotic

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 can't be created in the Pma objects 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()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:
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
DataList of defined variables. The tab is common to more objects. The common description is in the PmaObject object.
DDEDefinition of conditions for DDE sharing the variables
MethodsDefinition of designer's method of the object
PermissionThis 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
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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