Package org.lfenergy.compas.sct.commons
Class SubstationService
java.lang.Object
org.lfenergy.compas.sct.commons.SubstationService
- All Implemented Interfaces:
SubstationEditor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubstation(@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:SubstationEditorAdds or Updates Substation section in SCL- Specified by:
addSubstationin 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
-