Class ReportControlBlock
java.lang.Object
org.lfenergy.compas.sct.commons.dto.LNodeMetaDataEmbedder
org.lfenergy.compas.sct.commons.dto.ControlBlock
org.lfenergy.compas.sct.commons.dto.ReportControlBlock
A representation of the model object ReportControlBlock.
The following features are supported:
rptID
Name
dataSetRef
Desc
Refers To confRev
Refers To IedNames
Refers To trgOps
Refers To intgPd
Refers To rptEnabled.max
Refers To rptEnabled.desc
Refers To buffered
Refers To bufTime
Refers To indexed
- 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
ConstructorDescriptionReportControlBlock
(String name, String id, String dataSetRef) Create ReportControlBlock with default valuesReportControlBlock
(TReportControl reportControl) Constructor -
Method Summary
Modifier and TypeMethodDescriptionAdd the ControlBlock to an LN or LN0 elementGet ControlBlockEnumCreates Report Control Blockvoid
Validates Report Control Blockprotected void
validateSecurityEnabledValue
(TServices tServices) Implementation is required by superclass but ReportControl blocks has no SecurityEnabled attributes.Methods 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
-
trgOps
-
intgPd
protected long intgPd
-
-
Constructor Details
-
ReportControlBlock
Create ReportControlBlock with default values- Parameters:
name
- name of the ReportControlBlockid
- rptId of the ReportControlBlockdataSetRef
- datSet of the ReportControlBlock
-
ReportControlBlock
Constructor- Parameters:
reportControl
- input
-
-
Method Details
-
getControlBlockEnum
Description copied from class:ControlBlock
Get ControlBlockEnum- Specified by:
getControlBlockEnum
in classControlBlock
- Returns:
- ControlBlockEnum of the instance
-
validateSecurityEnabledValue
Implementation is required by superclass but ReportControl blocks has no SecurityEnabled attributes. This implementation does nothing.- Specified by:
validateSecurityEnabledValue
in classControlBlock
- Parameters:
tServices
- Service object- Throws:
ScdException
- never (this is just to comply with superclass)
-
toTControl
Creates Report Control Block- Specified by:
toTControl
in classControlBlock
- Returns:
- TReportControl object
-
validateCB
Validates Report Control Block- Overrides:
validateCB
in classControlBlock
- Throws:
ScdException
- when required fields are missing
-
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
-