Class GooseControlBlock
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.ControlBlock
org.lfenergy.compas.sct.commons.dto.GooseControlBlock
A representation of the model object GooseControlBlock.
The following features are supported:
appID
Name
dataSetRef
Desc
Refers To confRev
Refers To list of IEDName ot TClientLN
Refers To security Enable
Refers To fixedOffs
Refers To Protocol
- See Also:
-
Field Summary
Fields inherited from class org.lfenergy.compas.sct.commons.dto.ControlBlock
confRev, dataSetRef, desc, id, name, targets
Fields inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
metaData
-
Constructor Summary
ConstructorDescriptionGooseControlBlock
(String name, String id, String dataSetRef) Create GooseControlBlock with default valuesGooseControlBlock
(TGSEControl tgseControl) Constructor -
Method Summary
Modifier and TypeMethodDescriptionConvert instance to TGSEControl and add it to LN0.GSEControl.Get ControlBlockEnumMap the object to TGSEControlprotected void
validateSecurityEnabledValue
(TServices tServices) Abstract method to check validity of Security Enable state for Control blocksMethods inherited from class org.lfenergy.compas.sct.commons.dto.ControlBlock
copyProtocol, getConfRev, getControlBlockServiceSetting, getServiceType, validateCB, validateSecurityEnabledValue
Methods inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
getHolderIEDName, getHolderLDInst, getHolderLnClass, getHolderLnInst, getHolderLnPrefix, setHolderIEDName, setHolderLDInst, setHolderLnClass, setHolderLnInst, setHolderLnPrefix, setMetaData
-
Constructor Details
-
GooseControlBlock
Constructor- Parameters:
tgseControl
- input
-
GooseControlBlock
Create GooseControlBlock with default values- Parameters:
name
- name of the GooseControlBlockid
- appId of the GooseControlBlockdataSetRef
- datSet of the GooseControlBlock
-
-
Method Details
-
getControlBlockEnum
Description copied from class:ControlBlock
Get ControlBlockEnum- Specified by:
getControlBlockEnum
in classControlBlock
- Returns:
- ControlBlockEnum of the instance
-
validateSecurityEnabledValue
Description copied from class:ControlBlock
Abstract method to check validity of Security Enable state for Control blocks- Specified by:
validateSecurityEnabledValue
in classControlBlock
- Parameters:
tServices
- Service object- Throws:
ScdException
- when ControlBlock Security is not consistent
-
toTControl
Map the object to TGSEControl- Specified by:
toTControl
in classControlBlock
- Returns:
- new instance of TGSEControl
-
addToLN
Convert instance to TGSEControl and add it to LN0.GSEControl. GSEControl is only available on LN0 (not LN)- Specified by:
addToLN
in classControlBlock
- Parameters:
tAnyLN
- TLN0 element- Returns:
- the added TGSEControl
- Throws:
IllegalArgumentException
- when tAnyLN is not of class TLNO
-