-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#359): use a POJO for allowed FCDA list in CB Report for HMI cre…
…ation Signed-off-by: Aliou DIAITE <aliou.diaite@rte-france.com>
- Loading branch information
1 parent
b4d97c6
commit 2c2f828
Showing
6 changed files
with
180 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
sct-commons/src/main/resources/xsd/CB_REPORT_SUPERVISION_Config_file.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
SPDX-FileCopyrightText: 2023 RTE FRANCE | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
<xs:schema xmlns="http://www.rte-france.com" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
targetNamespace="http://www.rte-france.com" elementFormDefault="qualified" attributeFormDefault="unqualified" | ||
version="1"> | ||
|
||
<xs:element name="PO"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element ref="History"/> | ||
<xs:element ref="Version"/> | ||
<xs:element ref="FCDAs"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:element name="History"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="Hitem" type="tHitem" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:complexType name="tHitem" mixed="true"> | ||
<xs:attribute name="version" type="xs:normalizedString" use="required"/> | ||
<xs:attribute name="when" type="xs:normalizedString" use="required"/> | ||
<xs:attribute name="who" type="xs:normalizedString"/> | ||
<xs:attribute name="what" type="xs:normalizedString"/> | ||
</xs:complexType> | ||
|
||
<xs:element name="Version"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="SystemVersion" type="tSystemVersion" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:complexType name="tSystemVersion" mixed="true"> | ||
<xs:attribute name="MainSystemVersion" type="xs:normalizedString" use="required"/> | ||
</xs:complexType> | ||
|
||
<xs:element name="FCDAs"> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<xs:element name="FCDA" type="tFCDAFilter" maxOccurs="unbounded"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
<xs:complexType name="tFCDAFilter"> | ||
<xs:attribute name="ldInst" type="xs:string" use="required"/> | ||
<xs:attribute name="prefix" type="xs:string" use="optional"/> | ||
<xs:attribute name="lnClass" type="xs:string" use="required"/> | ||
<xs:attribute name="lnInst" type="xs:string" use="required"/> | ||
<xs:attribute name="doName" type="xs:string" use="required"/> | ||
<xs:attribute name="fc" type="tfc" use="required"/> | ||
</xs:complexType> | ||
|
||
<xs:simpleType name="tfc"> | ||
<xs:restriction base="xs:string"> | ||
<xs:enumeration value="ST"/> | ||
<xs:enumeration value="MX"/> | ||
</xs:restriction> | ||
</xs:simpleType> | ||
|
||
</xs:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters