Extending standard data
Similar to program blocks, standard data blocks that use UDTs or structs can also be easily extended without breaking standardization. For this to work, a data block needs to be structured in a particular way.
Have a look at the following screenshot:
Figure 8.4 is an example of a data block that consists of the following two areas:
- Asset UDT Data—This is the data that standard objects will access.
- Asset Bespoke Data—This is an extension of the standard data.
Now, have a look at the following screenshot:
Figure 8.5 demonstrates this pattern in data blocks. Asset_1
has the UDT defined as a variable named Typed
, and that is the only variable that appears in the data block. This means that any standard object that requires data from Asset_1
can...