Interface ControlBlockEditor
- All Known Implementing Classes:
ControlBlockService
public interface ControlBlockEditor
Service class that will be used to create, update or delete elements related to the
TExtRef
object.
The following features are supported:
- ExtRef features
Create DataSet and ControlBlock based on the TExtRef
Create DataSet and ControlBlock based on the TExtRef in given IED
Create DataSet and ControlBlock based on the TExtRef in given IED and LDevice
Configure the network for the ControlBlocks
Removes all ControlBlocks and DataSets for all LNs in SCL
analyzeDataGroups(SCL)
Checks Control Blocks, DataSets and FCDA number limitation into Access Points }
-
Method Summary
Modifier and TypeMethodDescriptionanalyzeDataGroups
(SCL scd) Checks Control Blocks, DataSets and FCDA number limitation into Access PointsconfigureNetworkForAllControlBlocks
(SCL scd, ControlBlockNetworkSettings controlBlockNetworkSettings, ControlBlockNetworkSettings.RangesPerCbType rangesPerCbType) Configure the network for all the ControlBlocks.createDataSetAndControlBlocks
(SCL scd, String targetIedName, String targetLDeviceInst, Set<FcdaForDataSetsCreation> allowedFcdas) Create All DataSet and ControlBlock for the ExtRef in given IED and LDevicecreateDataSetAndControlBlocks
(SCL scd, String targetIedName, Set<FcdaForDataSetsCreation> allowedFcdas) Create All DataSet and ControlBlock for the ExtRef in given IEDcreateDataSetAndControlBlocks
(SCL scd, Set<FcdaForDataSetsCreation> allowedFcdas) Create All DataSet and ControlBlock in the SCL based on the ExtRefvoid
Removes all ControlBlocks and DataSets for all LNs in SCL
-
Method Details
-
removeAllControlBlocksAndDatasetsAndExtRefSrcBindings
Removes all ControlBlocks and DataSets for all LNs in SCL- Parameters:
scl
- SCL file for which ControlBlocks and DataSets should be deleted
-
analyzeDataGroups
Checks Control Blocks, DataSets and FCDA number limitation into Access Points- Parameters:
scd
- SCL file for which LDevice should be activated or deactivated- Returns:
- list of encountered errors
-
createDataSetAndControlBlocks
List<SclReportItem> createDataSetAndControlBlocks(SCL scd, Set<FcdaForDataSetsCreation> allowedFcdas) Create All DataSet and ControlBlock in the SCL based on the ExtRef- Parameters:
scd
- input SCD object. It could be modified by adding new DataSet and ControlBlocksallowedFcdas
- List of allowed FCDA for DataSets and Control Blocks creation- Returns:
- list of encountered errors
-
createDataSetAndControlBlocks
List<SclReportItem> createDataSetAndControlBlocks(SCL scd, String targetIedName, Set<FcdaForDataSetsCreation> allowedFcdas) Create All DataSet and ControlBlock for the ExtRef in given IED- Parameters:
scd
- input SCD object. The object will be modified with the new DataSet and ControlBlockstargetIedName
- the name of the IED where the ExtRef areallowedFcdas
- List of allowed FCDA for DataSets and Control Blocks creation- Returns:
- list of encountered errors
-
createDataSetAndControlBlocks
List<SclReportItem> createDataSetAndControlBlocks(SCL scd, String targetIedName, String targetLDeviceInst, Set<FcdaForDataSetsCreation> allowedFcdas) Create All DataSet and ControlBlock for the ExtRef in given IED and LDevice- Parameters:
scd
- input SCD object. The object will be modified with the new DataSet and ControlBlockstargetIedName
- the name of the IED where the ExtRef aretargetLDeviceInst
- the name of the LDevice where the ExtRef areallowedFcdas
- List of allowed FCDA for DataSets and Control Blocks creation- Returns:
- list of encountered errors
-
configureNetworkForAllControlBlocks
List<SclReportItem> configureNetworkForAllControlBlocks(SCL scd, ControlBlockNetworkSettings controlBlockNetworkSettings, ControlBlockNetworkSettings.RangesPerCbType rangesPerCbType) Configure the network for all the ControlBlocks. Create (or update if already existing) these elements - the Communication/SubNetwork/ConnectedAP/GSE element, for the GSEControl blocks - the Communication/SubNetwork/ConnectedAP/SMV element, for the SampledValueControl blocks- Parameters:
scd
- input SCD object. The object will be modified with the new DataGSESet and SMV elementscontrolBlockNetworkSettings
- a method tha gives the network configuration information for a given ControlBlockrangesPerCbType
- provide NetworkRanges for GSEControl and SampledValueControl. NetworkRanges contains : start-end app APPID range (long value), start-end MAC-Addresses (Mac-Addresses values: Ex: "01-0C-CD-01-01-FF")- Returns:
- list of encountered errors
- See Also:
-