7.2.9 Classification using Subtyping

Subtyping of ObjectTypes can be used to classify Objects according to the primary characteristics represented by the ObjectType hierarchy. For example, devices may be classified into sensors and actuators, with sensors further specialized into subtypes for measuring temperature, pressure, and other physical quantities. This classification is represented by defining corresponding ObjectTypes in the type hierarchy.

In many cases, such classification is accompanied by the addition of subcomponents to the respective ObjectType. However, classification may also be appropriate without introducing additional subcomponents. While this approach can be reasonable for regular ObjectTypes, it should generally be avoided for Interfaces, as the purpose of an Interface is to define components that can be added to Objects or ObjectTypes.

In general, type hierarchies should be kept as shallow as reasonably possible. In many cases, alternative classification mechanisms are more appropriate. For example, Events derived from BaseEventType can be classified using the ConditionClassId and ConditionSubClassId Properties.