Module hierarchy
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server
Modules are hierarchical. A module may have parent modules and child modules. Although, inserting a module into a parent module is effectively an edit of both parent and child module, the Audit Database only shows this modification as a change to the parent.
Child modules are inserted into a specific value of the parent. This is an explicit edit of a module value. The parent references of a child are not assigned to a specific value. All module values that represent this child implicitly acquire the link to the parent. Since it is implied a child module was edited and to avoid clutter and confusion in the Audit Database, only the change to the parent is shown. The inserting of a child into a module is shown as a change to the module's Children attribute.
The following represents the change to that attribute when adding a child. Notice the after value has the additional unique ID of the child that was inserted.
PIModuleAttribute Name="Children"
Before=12e0e168-4ec6-499e-b6e3-271489893442
After=6895acf1-d177-4efd-a5fa-eeaf9c115bd9, 12e0e168-4ec6-499e-b6e3-271489893442