If a parent element references children by type, it should be done by type reference like it is done in the templates plugin for logical node types down to DO and DA elements
This should result in the following SCD. Take note that the SCD structure is strongly simplified, for example <LDevice> is not a direct child of <IED>. From <LN> downwards the types can already be created in the templates plugin.
Do not merge, this is a proposal and the PR is for discussion purposes
Proposals for Type Designer data storing
Relates to #62
<IED>
use<IEDType>
and for<Bay>
use<BayType>
id
attribute which is used for references<Private>
field with a suitable identifier in<DataTypeTemplates>
Full example
Consider the following type structure
This should result in the following SCD. Take note that the SCD structure is strongly simplified, for example
<LDevice>
is not a direct child of<IED>
. From<LN>
downwards the types can already be created in the templates plugin.