Closed Sander3003 closed 2 years ago
Add trashbin icon to:
And add Remove button to:
Upon deletion, delete the <IED>
element and the references to the IED element.
<ConnectedAP>
elements in other IEDs with iedName = {the deleted IED}<ExtRef>
elements in other IEDs with iedName = {the deleted IED}<SampledValueControl>
elements with a value of the deleted IED name in the element <IEDName>
<GSEControl>
elements with a value of the deleted ied name in the elemnt <IEDName>
What about <tControlWithIEDName>
?
Maybe we should warn the user that all references to the IED will be deleted as well? For example GOOSE/SMV subscriptions etc?
To be added: Dialog with things that are being removed (elements)
The delete function can be added to the *** menu
The rename function can be used to check if the remove function is complete: https://github.com/openscd/open-scd/issues/453
The following reference to the IED Name are removed. The attribute (between []) of the following elements:
The Text Content of the following elements:
TODO: Don't forget to remove the data template section ( @JakobVogelsang will make a suggestion for this).
As an OpenSCD engineer user I want to a button to remove IED's from a SCL file So I can remove IED's that are not needed any longer
Accpetance criteria: The IED and related information should be removed Including the related reporting blocks
Background: When editing a substation, it could be usefull to remove a IED of an exsiting configuration.