]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Ajout dun nouveau cata reduit plus réaliste
authorEric Fayolle <eric.fayolle@edf.fr>
Fri, 30 Mar 2018 15:04:23 +0000 (17:04 +0200)
committerEric Fayolle <eric.fayolle@edf.fr>
Fri, 30 Mar 2018 15:04:23 +0000 (17:04 +0200)
Atmo/ex_jdc_bis.xml [new file with mode: 0644]
Atmo/modele_atmo_test1.py [new file with mode: 0644]
Atmo/modele_atmo_test1.xsd [new file with mode: 0755]

diff --git a/Atmo/ex_jdc_bis.xml b/Atmo/ex_jdc_bis.xml
new file mode 100644 (file)
index 0000000..0813afd
--- /dev/null
@@ -0,0 +1 @@
+<?xml version="1.0" ?><ns1:Atmos xmlns:ns1="http://chercheurs.edf.com/logiciels/atmos"><ns1:Wind><ns1:Wind_Speed>50</ns1:Wind_Speed><ns1:Speed_Unit>mph</ns1:Speed_Unit><ns1:Measurement>manual</ns1:Measurement><ns1:B_enter_mesure><ns1:Value>10</ns1:Value><ns1:Unit>meters</ns1:Unit></ns1:B_enter_mesure></ns1:Wind><ns1:Ground><ns1:Ground_roughness>manual</ns1:Ground_roughness><ns1:B_enter_ground><ns1:Value>30</ns1:Value><ns1:Unit>cm</ns1:Unit></ns1:B_enter_ground></ns1:Ground><ns1:Cover><ns1:Cover_type>clear</ns1:Cover_type></ns1:Cover></ns1:Atmos>
\ No newline at end of file
diff --git a/Atmo/modele_atmo_test1.py b/Atmo/modele_atmo_test1.py
new file mode 100644 (file)
index 0000000..1b1390b
--- /dev/null
@@ -0,0 +1,12 @@
+import raw.atmo_test1 as mdm
+
+my_Wind_Speed=mdm.T_Wind_Speed(0)
+my_Value=mdm.T_Value(0)
+my_Unit=mdm.T_Unit(0)
+my_B_enter_mesure=mdm.T_B_enter_mesure(my_Wind_Speed,my_Value,my_Unit)
+my_Wind_Speed1=mdm.T_Wind_Speed1(1)
+my_Value1=mdm.T_Value1(1)
+my_Unit1=mdm.T_Unit1(1)
+
+my_Wind=mdm.T_Wind(my_Wind_Speed1,my_Value1,my_Unit1,my_B_enter_mesure)
+my_Atmos=mdm.Atmos(my_Wind)
diff --git a/Atmo/modele_atmo_test1.xsd b/Atmo/modele_atmo_test1.xsd
new file mode 100755 (executable)
index 0000000..a44c12f
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XMLSpy v2015 rel. 4 (http://www.altova.com) by USER1 (EDF-DSP) -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:atmos="http://chercheurs.edf.com/logiciels/atmos" targetNamespace="http://chercheurs.edf.com/logiciels/atmos" elementFormDefault="qualified" attributeFormDefault="qualified">
+       <simpleType name="T_Wind_Speed1">
+               <restriction base="int"/>
+       </simpleType>
+       <simpleType name="T_Speed_Unit1">
+               <restriction base="string"/>
+       </simpleType>
+       <simpleType name="T_Wind_Speed">
+               <restriction base="int"/>
+       </simpleType>
+       <simpleType name="T_Speed_Unit">
+               <restriction base="string"/>
+       </simpleType>
+       <simpleType name="T_Value">
+               <restriction base="int"/>
+       </simpleType>
+       <simpleType name="T_Unit">
+               <restriction base="string"/>
+       </simpleType>
+       <simpleType name="T_Value1">
+               <restriction base="int"/>
+       </simpleType>
+       <simpleType name="T_Unit1">
+               <restriction base="string"/>
+       </simpleType>
+       <complexType name="T_Atmos">
+               <sequence>
+                       <element name="Wind" type="atmos:T_Wind" minOccurs="1" maxOccurs="1"/>
+               </sequence>
+       </complexType>
+       <complexType name="T_Wind">
+               <sequence>
+                       <element name="Wind_Speed1" type="atmos:T_Wind_Speed1"/>
+                       <sequence>
+                               <element name="Value1" type="atmos:T_Value1"/>
+                               <element name="Unit1" type="atmos:T_Unit1"/>
+                       </sequence>
+                       <element name="B_enter_mesure" type="atmos:T_B_enter_mesure" minOccurs="0" maxOccurs="1"/>
+               </sequence>
+       </complexType>
+       <complexType name="T_B_enter_mesure">
+               <sequence>
+                       <element name="Wind_Speed" type="atmos:T_Wind_Speed"/>
+                       <sequence>
+                               <element name="Value" type="atmos:T_Value"/>
+                               <element name="Unit" type="atmos:T_Unit"/>
+                       </sequence>
+               </sequence>
+       </complexType>
+       <element name="Atmos" type="atmos:T_Atmos"/>
+</schema>