Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSR-1047 - Creation Report CB for the HMI - Evolution add REPORTType attribute #414

Closed
massifben opened this issue Aug 8, 2024 · 0 comments · Fixed by #415
Closed

RSR-1047 - Creation Report CB for the HMI - Evolution add REPORTType attribute #414

massifben opened this issue Aug 8, 2024 · 0 comments · Fixed by #415
Labels
enhancement New feature or request

Comments

@massifben
Copy link
Contributor

An xml file is currently used to describe the objects to be added to the ControlBlock. If the object is of type DA.fc = ST then the DO is put in a Report of type DQC_PO if the DA.fc = MX then the Report is put in a Report of type CYC_PO.

The requirement concerns the configuration of this allocation; to do this, a new REPORTType attribute has been added to the xml.

In this case, the value of this attribute will be "DQC" or "CYC".

<FCDAs>
       <FCDA FCDALdInst="LDPMC1" FCDAPrefix="" FCDALnClass="PTRC" FCDALnInst="0" FCDADoName="Str" FCDAFc="ST" REPORTType="DQC"></FCDA>
        <FCDA FCDALdInst="LDPMC1" FCDAPrefix="" FCDALnClass="PSCH" FCDALnInst="0" FCDADoName="Op" FCDAFc="ST" REPORTType="DQC"></FCDA>
        <FCDA FCDALdInst="LDPHAS1" FCDAPrefix="" FCDALnClass="MMXU" FCDALnInst="0" FCDADoName="PhV.phsA" FCDAFc="MX" REPORTType="CYC"></FCDA>
        <FCDA FCDALdInst="LDPHAS1" FCDAPrefix="" FCDALnClass="MMXU" FCDALnInst="0" FCDADoName="PhV.phsB" FCDAFc="MX" REPORTType="CYC"></FCDA>
</FCDAs>

This addition will make it possible to deal with exceptions such as RFLOs (FCDALnClass="RFLO"), which can be MXs or STs that we put in a DQC Report:

<FCDA FCDALdInst="LDLOCDEF" FCDAPrefix="" FCDALnClass="RFLO" FCDALnInst="0" FCDADoName="FltLoop" FCDAFc="ST" REPORTType="DQC"></FCDA>
<FCDA FCDALdInst="LDLOCDEF" FCDAPrefix="" FCDALnClass="RFLO" FCDALnInst="0" FCDADoName="FltZ" FCDAFc="MX" REPORTType="DQC"></FCDA>

Functional rules
As : the DataSet and ControlBlock generation process
When : when assigning objects in a Report
So : the process must read the value of the REPORTType attribute in the Template_EXPORT_PO_v2 xml file to make this assignment

@massifben massifben added the enhancement New feature or request label Aug 8, 2024
massifben added a commit that referenced this issue Aug 8, 2024
…reation

Signed-off-by: massifben <105049157+massifben@users.noreply.github.com>
samirromdhani added a commit that referenced this issue Aug 23, 2024
…t-cb-for-the-hmi-evolution-add-reporttype-attribute

feat(#414): RSR-1047 - add reportType attribute to HMI controlblock creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant