Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IED button #616

Closed
Sander3003 opened this issue Mar 17, 2022 · 3 comments · Fixed by #732
Closed

Remove IED button #616

Sander3003 opened this issue Mar 17, 2022 · 3 comments · Fixed by #732
Assignees
Labels

Comments

@Sander3003
Copy link
Member

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.

@Sander3003 Sander3003 added the Kind: Enhancement New Request label Mar 17, 2022
@randy993
Copy link

randy993 commented Mar 23, 2022

Add trashbin icon to:
image

And add Remove button to:
image

Upon deletion, delete the <IED> element and the references to the IED element.

  • All <ConnectedAP> elements in other IEDs with iedName = {the deleted IED}
  • All <ExtRef> elements in other IEDs with iedName = {the deleted IED}
  • All <SampledValueControl> elements with a value of the deleted IED name in the element <IEDName>
  • All <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?

@Sander3003
Copy link
Member Author

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: #453

@Sander3003
Copy link
Member Author

Sander3003 commented Apr 4, 2022

The following reference to the IED Name are removed.
The attribute (between []) of the following elements:

  • Association[iedName]
  • ClientLN[iedName]
  • ConnectedAP[iedName]
  • ExtRef[iedName]
  • KDC[iedName]
  • LNode[iedName]

The Text Content of the following elements:

  • GSEControl > IEDName
  • SampledValueControl > IEDName

TODO:
Don't forget to remove the data template section ( @JakobVogelsang will make a suggestion for this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants