-
Notifications
You must be signed in to change notification settings - Fork 13
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
SLD : add LCC_CONVERTER_STATION component type #537
Conversation
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your quick and clean work. I'll let you add more tests to increase coverage and I think we shall be good!
if (lccConverterStation != null) { | ||
LineDiagramData<LccConverterStation> lccDiagramData = LineDiagramData.getOrCreateDiagramData(lccConverterStation); | ||
int danglingLineSeq = getMaxSeq(lccDiagramData.getPoints(diagramName)) + 1; | ||
DiagramPoint vcsPoint = offsetPoint.newDiagramPoint(lccNode.getX(), lccNode.getY(), danglingLineSeq); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A very minor remark: could you please rename vcsPoint
in lccPoint
just to be consistent with the notations?
By the way, I am under the impression that vcs
should be vsc
instead in applyLayoutOnVscConverterStation
for example.
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Signed-off-by: Thomas ADAM <tadam@silicom.fr>
Kudos, SonarCloud Quality Gate passed! |
…STATION were introduced in powsybl-diagram by powsybl/powsybl-diagram#537
…STATION were introduced in powsybl-diagram by powsybl/powsybl-diagram#537
…STATION were introduced in powsybl-diagram by powsybl/powsybl-diagram#537.
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
Feature
What is the current behavior?
Only VSC_CONVERTER_STATION can be used
What is the new behavior (if this is a feature change)?
LCC_CONVERTER_STATION can be used too