Class SubNetworkDTO
java.lang.Object
org.lfenergy.compas.sct.commons.dto.SubNetworkDTO
A representation of the model object Sub Network.
The following features are supported:
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add ConnectedApDTO to SubNetwork list of ConnectedAPs'static List<SubNetworkDTO>
createDefaultSubnetwork
(String iedName, TCommunication communication, List<SubNetworkTypeDTO> subNetworkTypes) Create default Subnetwork in Communication node of SCL filestatic SubNetworkDTO
from
(SubNetworkAdapter subNetworkAdapter) Initializes SubNetworkDTOGets list of ConnectedApDTO of SubNetworkgetType()
Gets SubNetwork typevoid
Sets SubNetwork namevoid
Sets SubNetwork Type
-
Constructor Details
-
SubNetworkDTO
Constructor- Parameters:
name
- inputtype
- input
-
-
Method Details
-
from
Initializes SubNetworkDTO- Parameters:
subNetworkAdapter
- input- Returns:
- SubNetworkDTO object value
-
getConnectedAPs
Gets list of ConnectedApDTO of SubNetwork- Returns:
- Set of ConnectedApDTO object
-
getType
Gets SubNetwork type- Returns:
- string SubNetwork type
-
addConnectedAP
Add ConnectedApDTO to SubNetwork list of ConnectedAPs'- Parameters:
cap
- input
-
setName
Sets SubNetwork name- Parameters:
sName
- input
-
setType
Sets SubNetwork Type- Parameters:
type
- input
-
createDefaultSubnetwork
public static List<SubNetworkDTO> createDefaultSubnetwork(String iedName, TCommunication communication, List<SubNetworkTypeDTO> subNetworkTypes) Create default Subnetwork in Communication node of SCL file- Parameters:
iedName
- Name of existing IED in SCLcommunication
- Communication node in SCLsubNetworkTypes
- Possible name of Subnetwork and corresponding ConnectedAPs- Returns:
- List of Subnetwork
-