Method SetParent

This method is used to update the relationship, i.e. the module is told the controlling (parent) module.

  • A maximum of 18 (child) modules can be assigned to one (parent) module.

  • The relationship is updated only once using this method. Repeated, cyclical calls increase the system load and can overload the framework.

Inputs

Name

Datatype

Description

RelationShip

L_IMHP_RelationshipID

Category of the relationship

ModuleHandlerParent

L_IMHP_IModuleHandler

ModuleHandlerInterface of the controlling (parent) module.

The maximum number of module layers that can be created using the "SetParent" method is 7.