About Containers

The notion of container refers to an equipment which embeds logical components, such as equipments or symbols.

This page discusses:

Definition

There are three different types of container equipments:

  • Geographical container: Container embedding one or several equipments which are geographically located inside this container. For example, a fuse box is a geographical container for the fuses.
  • Composite: Container embedding composite equipments that are part of the container. The component instances are integrated in the container. For example, a pump to work properly needs pipes and a pressure instrument. In this case, the pipes and the pressure instrument are part of the pump.
  • Composite container: Container which integrates the behavior of a geographical container and a composite.

Link between Container and Containee

When an equipment is placed inside a container, they become graphically linked. Moving the container moves the containee as well. Removing the container removes the related symbol if it hey are both still linked. Both container and containee are highlighted in the diagram view.

The containees can be moved independently of the container. If a containee is moved outside the container, the link between the two is broken.

Note: The link is created only if the entire containee bounding box is inside the container bounding box.

Containee Attributes Management

You can manage containees attributes during the link creation with its container using the following resources from the Data Setup Diagram Resources resource set.

The following opening ID allows you to define an attribute on a symbol to identify it as part of a container:

  • Schematic_ManageGeographicalContainer: Manages a containee attributes for a given geographical container attributes.
  • Schematic_ManageComposite: Manages a containee attributes for a given composite attributes.
  • Schematic_ManageCompositeContainer: Manages a containee attributes for a given composite container attributes.
For more information, see Business Rules.

When a containee component is removed from a container, the Schematic_RemoveContainer opening ID allows you to remove the attributes from the containee symbol.

Display Containee Under the Parent Container

In the app tree, the containee can be displayed under its parent container. The Schematic_GetCompositeName needs to be set to display the containee under its container. For more information, see Display the Parent Container (Schematic_ GetCompositeName).