Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 20, 2023
1 parent b81fea0 commit 1ee442a
Show file tree
Hide file tree
Showing 8 changed files with 269 additions and 89 deletions.
159 changes: 159 additions & 0 deletions __snapshots__/oscd-designer.spec.snap.js
Original file line number Diff line number Diff line change
Expand Up @@ -6277,3 +6277,162 @@ snapshots["Designer given conducting equipment with established connectivity bet
`;
/* end snapshot Designer given conducting equipment with established connectivity between more than two pieces of equipment and a bus bar deletes the bus bar on delete menu item select */

snapshots["Designer given conducting equipment retargets grounded terminals when reparenting equipment"] =
`<SCL
revision="B"
version="2007"
xmlns="http://www.iec.ch/61850/2003/SCL"
xmlns:esld="https://transpower.co.nz/SCL/SSD/SLD/v0"
>
<Substation
esld:h="25"
esld:w="50"
name="S1"
>
<VoltageLevel
esld:h="13"
esld:lx="1"
esld:ly="1"
esld:w="13"
esld:x="1"
esld:y="1"
name="V1"
>
<Bay
esld:h="6"
esld:lx="2"
esld:ly="2"
esld:w="6"
esld:x="2"
esld:y="2"
name="B1"
>
<ConnectivityNode
name="grounded"
pathName="S1/V1/B1/grounded"
>
</ConnectivityNode>
</Bay>
</VoltageLevel>
<VoltageLevel
esld:h="23"
esld:lx="15"
esld:ly="1"
esld:w="23"
esld:x="15"
esld:y="1"
name="V2"
>
<Bay
esld:h="6"
esld:lx="16"
esld:ly="2"
esld:w="6"
esld:x="16"
esld:y="2"
name="B1"
>
<ConductingEquipment
desc="CBR description"
esld:lx="18.5"
esld:ly="4"
esld:rot="1"
esld:x="19"
esld:y="4"
name="CBR1"
type="CBR"
>
<Terminal
bayName="B1"
cNodeName="grounded"
connectivityNode="S1/V2/B1/grounded"
name="T2"
substationName="S1"
voltageLevelName="V2"
>
</Terminal>
</ConductingEquipment>
<ConductingEquipment
esld:lx="17"
esld:ly="7.5"
esld:rot="3"
esld:x="17"
esld:y="5"
name="CTR1"
type="CTR"
>
</ConductingEquipment>
<ConductingEquipment
esld:lx="17"
esld:ly="4.5"
esld:rot="1"
esld:x="18"
esld:y="4"
name="DIS1"
type="DIS"
>
</ConductingEquipment>
<ConductingEquipment
esld:lx="20"
esld:ly="3.5"
esld:rot="2"
esld:x="19"
esld:y="3"
name="NEW1"
type="NEW"
>
</ConductingEquipment>
<ConductingEquipment
esld:lx="17"
esld:ly="3"
esld:rot="3"
esld:x="17"
esld:y="3"
name="VTR1"
type="VTR"
>
</ConductingEquipment>
<ConductingEquipment
esld:lx="21"
esld:ly="5"
esld:rot="0"
esld:x="20"
esld:y="4"
name="DIS2"
type="DIS"
>
</ConductingEquipment>
<ConductingEquipment
esld:lx="19"
esld:ly="7"
esld:rot="3"
esld:x="19"
esld:y="7"
name="BAT1"
type="BAT"
>
<Terminal name="erroneous">
</Terminal>
</ConductingEquipment>
<ConductingEquipment
esld:lx="22"
esld:ly="8"
esld:rot="3"
esld:x="22"
esld:y="8"
name="SMC1"
type="SMC"
>
</ConductingEquipment>
<ConnectivityNode
name="grounded"
pathName="S1/V2/B1/grounded"
>
</ConnectivityNode>
</Bay>
</VoltageLevel>
</Substation>
</SCL>
`;
/* end snapshot Designer given conducting equipment retargets grounded terminals when reparenting equipment */

168 changes: 84 additions & 84 deletions oscd-designer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion oscd-designer.js.map

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions oscd-designer.spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion oscd-designer.spec.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 1ee442a

Please sign in to comment.