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:
smvIDNamedataSetRefDescRefers To confRevRefers To IedNamesRefers To securityEnableRefers To smvOptsRefers To protocolRefers To multicastRefers To smpRateRefers To nofASDURefers To smpMod
- See Also:
-
Field Summary
FieldsFields inherited from class org.lfenergy.compas.sct.commons.dto.ControlBlock
confRev, dataSetRef, desc, id, name, targetsFields inherited from class org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
metaData -
Constructor Summary
ConstructorsConstructorDescriptionSMVControlBlock(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 BlockvoidValidate Control block structureprotected voidvalidateSecurityEnabledValue(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, validateSecurityEnabledValueMethods 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:ControlBlockGet ControlBlockEnum- Specified by:
getControlBlockEnumin classControlBlock- Returns:
- ControlBlockEnum of the instance
-
validateSecurityEnabledValue
Description copied from class:ControlBlockAbstract method to check validity of Security Enable state for Control blocks- Specified by:
validateSecurityEnabledValuein classControlBlock- Parameters:
tServices- Service object- Throws:
ScdException- when ControlBlock Security is not consistent
-
validateCB
Description copied from class:ControlBlockValidate Control block structure- Overrides:
validateCBin classControlBlock- Throws:
ScdException- when ControlBlock structure is not valid
-
toTControl
Creates SMV Control Block- Specified by:
toTControlin classControlBlock- Returns:
- TSampledValueControl object
-
addToLN
Description copied from class:ControlBlockAdd the ControlBlock to an LN or LN0 element- Specified by:
addToLNin classControlBlock- Parameters:
tAnyLN- tLN or tLNO element- Returns:
- the added TControl
-