Package org.lfenergy.compas.sct.commons
Class SubstationService
java.lang.Object
org.lfenergy.compas.sct.commons.SubstationService
- All Implemented Interfaces:
SubstationEditor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSubstation
(@NonNull SCL scd, @NonNull SCL ssd) Adds or Updates Substation section in SCL
-
Constructor Details
-
SubstationService
public SubstationService()
-
-
Method Details
-
addSubstation
Description copied from interface:SubstationEditor
Adds or Updates Substation section in SCL- Specified by:
addSubstation
in interfaceSubstationEditor
- Parameters:
scd
- SCL file in which Substation should be added/updatedssd
- SCL file from which Substation should be copied- Throws:
ScdException
- throws when SCD contents already another Substation, or with different name, or contents more than one Substation
-