Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

public record LineSegmentInfos(String segmentTypeId,
Integer segmentDistanceValue,
Double segmentDistanceValue,
String area,
String temperature,
Double shapeFactor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ private ModificationInfos buildModification(String selectedLimitGroups1, String
.selectedOperationalLimitsGroupId2(selectedLimitGroups2)
.voltageLevelId2("v2")
.busOrBusbarSectionId2("bus2")
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", null, 0.95)))
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", null, 0.95)))
.properties(List.of(FreePropertyInfos.builder().name(PROPERTY_NAME).value(PROPERTY_VALUE).build()))
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ protected ModificationInfos buildModification() {
.connectionDirection2(ConnectablePosition.Direction.TOP)
.connectionPosition1(0)
.connectionPosition2(0)
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", null, 0.95)))
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", null, 0.95)))
.properties(List.of(FreePropertyInfos.builder().name(PROPERTY_NAME).value(PROPERTY_VALUE).build()))
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ protected ModificationInfos buildModification() {
.connectionDirection2(ConnectablePosition.Direction.BOTTOM)
.connectionPosition1(0)
.connectionPosition2(0)
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", null, 0.95)))
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", null, 0.95)))
.properties(List.of(FreePropertyInfos.builder().name(PROPERTY_NAME).value(PROPERTY_VALUE).build()))
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ protected ModificationInfos buildModification() {
.enableOLGModification(false)
.selectedOperationalLimitsGroupId1(new AttributeModification<>("invalid_opLG", OperationType.SET))
.selectedOperationalLimitsGroupId2(new AttributeModification<>("invalid_opLG", OperationType.SET))
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1, "1", null, 0.95)))
.lineSegments(List.of(new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", "50", null),
new LineSegmentInfos(UUID.randomUUID().toString(), 1.0, "1", null, 0.95)))
.applySegmentsLimits(true)
.build();
}
Expand Down
Loading