Class SMVControlBlock
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.ControlBlock
org.lfenergy.compas.sct.commons.dto.SMVControlBlock
A representation of the model object SMVControlBlock.
The following features are supported:
smvID
Name
dataSetRef
Desc
Refers To confRev
Refers To IedNames
Refers To securityEnable
Refers To smvOpts
Refers To protocol
Refers To multicast
Refers To smpRate
Refers To nofASDU
Refers To smpMod
- 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
ConstructorDescriptionSMVControlBlock
(String name, String id, String dataSetRef) Create SMVControlBlock with default valuesSMVControlBlock
(TSampledValueControl tSampledValueControl) Constructor -
Method Summary
Modifier and TypeMethodDescriptionAdd the ControlBlock to an LN or LN0 elementGet ControlBlockEnumCreates SMV Control Blockvoid
Validate Control block structureprotected 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, validateSecurityEnabledValue
Methods inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
getHolderIEDName, getHolderLDInst, getHolderLnClass, getHolderLnInst, getHolderLnPrefix, setHolderIEDName, setHolderLDInst, setHolderLnClass, setHolderLnInst, setHolderLnPrefix, setMetaData
-
Field Details
-
securityEnable
-
-
Constructor Details
-
SMVControlBlock
Create SMVControlBlock with default values- Parameters:
name
- name of the SMVControlBlockid
- smvId of the SMVControlBlockdataSetRef
- datSet of the SMVControlBlock
-
SMVControlBlock
Constructor- Parameters:
tSampledValueControl
- input
-
-
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
-
validateCB
Description copied from class:ControlBlock
Validate Control block structure- Overrides:
validateCB
in classControlBlock
- Throws:
ScdException
- when ControlBlock structure is not valid
-
toTControl
Creates SMV Control Block- Specified by:
toTControl
in classControlBlock
- Returns:
- TSampledValueControl object
-
addToLN
Description copied from class:ControlBlock
Add the ControlBlock to an LN or LN0 element- Specified by:
addToLN
in classControlBlock
- Parameters:
tAnyLN
- tLN or tLNO element- Returns:
- the added TControl
-