]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/tests/prueba.xml
cambio la sintaxis XML de las compuertas
[z.facultad/75.42/plaqui.git] / Server / tests / prueba.xml
index c3a4fb5b4164fabfdd6f5f615f60a7c9bd7bcc9e..48fe609cf955cf21bf75520e1ea50ec0e52e9b74 100644 (file)
 <?xml version="1.0" encoding="iso-8859-1" ?>
 <planta>
-       <tubo nombre="tubo0" id="1">
-               <caudal>3,50</caudal>
+       <bomba nombre="bomba0" id="0">
+               <entrega>50,00</entrega>
+               <color>
+                       <rojo>255</rojo>
+                       <verde>0</verde>
+                       <azul>0</azul>
+               </color>
                <conector>
-                       <entrada>codo3</entrada>
-                       <salida>union2</salida>
+                       <salida>codo1</salida>
                </conector>
                <orientacion>0</orientacion>
-               <x>96</x>
+               <x>32</x>
                <y>64</y>
-       </tubo>
-       <empalme nombre="union2" id="2">
-               <tipo>union</tipo>
+       </bomba>
+       <codo nombre="codo1" id="1">
+               <caudal>40,00</caudal>
                <conector>
-                       <entrada>codo10</entrada>
-                       <entrada>exclusa11</entrada>
-                       <salida>union2</salida>
+                       <entrada>bomba0</entrada>
+                       <salida>tubo2</salida>
                </conector>
-               <caudal>10,00</caudal>
-               <orientacion>3</orientacion>
-               <x>96</x>
-               <y>160</y>
-       </empalme>
-       <bomba nombre="bomba2" id="3">
-               <entrega>0,90</entrega>
-               <color>
-                       <rojo>57852</rojo>
-                       <verde>17196</verde>
-                       <azul>17196</azul>
-               </color>
+               <orientacion>0</orientacion>
+               <x>128</x>
+               <y>64</y>
+       </codo>
+       <tubo nombre="tubo2" id="2">
+               <caudal>40,00</caudal>
                <conector>
-                       <salida>codo3</salida>
+                       <entrada>codo1</entrada>
+                       <salida>division3</salida>
                </conector>
-               <orientacion>1</orientacion>
+               <orientacion>0</orientacion>
                <x>160</x>
-               <y>0</y>
-       </bomba>
-       <codo nombre="codo3" id="4">
-               <caudal>17,90</caudal>
+               <y>128</y>
+       </tubo>
+       <empalme nombre="division3" id="3">
+               <tipo>division</tipo>
                <conector>
-                       <salida>tubo0</salida>
-                       <entrada>bomba2</entrada>
+                       <salida>codo9</salida>
+                       <salida>codo4</salida>
+                       <entrada>tubo2</entrada>
+               </conector>
+               <caudal>40,00</caudal>
+               <orientacion>2</orientacion>
+               <x>128</x>
+               <y>224</y>
+       </empalme>
+       <codo nombre="codo4" id="4">
+               <caudal>40,00</caudal>
+               <conector>
+                       <salida>tubo5</salida>
+                       <entrada>division3</entrada>
                </conector>
                <orientacion>3</orientacion>
-               <x>96</x>
-               <y>0</y>
+               <x>64</x>
+               <y>256</y>
        </codo>
-       <bomba nombre="bomba4" id="5">
-               <entrega>26,00</entrega>
+       <tubo nombre="tubo5" id="5">
+               <caudal>30,00</caudal>
+               <conector>
+                       <entrada>codo4</entrada>
+                       <salida>tanque6</salida>
+               </conector>
+               <orientacion>0</orientacion>
+               <x>64</x>
+               <y>320</y>
+       </tubo>
+       <tanque nombre="tanque6" id="6">
+               <capacidad>150,00</capacidad>
+               <inicial>75,00</inicial>
                <color>
                        <rojo>0</rojo>
                        <verde>0</verde>
                        <azul>0</azul>
                </color>
                <conector>
-                       <salida>codo6</salida>
+                       <entrada>tubo5</entrada>
+                       <salida>exclusa18</salida>
                </conector>
-               <orientacion>1</orientacion>
-               <x>160</x>
-               <y>352</y>
-       </bomba>
-       <codo nombre="codo6" id="7">
-               <caudal>2,10</caudal>
+               <orientacion>0</orientacion>
+               <x>64</x>
+               <y>416</y>
+       </tanque>
+       <codo nombre="codo7" id="7">
+               <caudal>4,00</caudal>
                <conector>
-                       <entrada>bomba4</entrada>
-                       <salida>exclusa11</salida>
+                       <entrada>exclusa18</entrada>
+                       <salida>drenaje8</salida>
                </conector>
-               <orientacion>2</orientacion>
-               <x>96</x>
-               <y>320</y>
+               <orientacion>0</orientacion>
+               <x>192</x>
+               <y>448</y>
        </codo>
-       <drenaje nombre="drenaje7" id="8">
+       <drenaje nombre="drenaje8" id="8">
                <conector>
-                       <entrada>drenaje7</entrada>
+                       <entrada>codo7</entrada>
                </conector>
                <orientacion>0</orientacion>
-               <x>352</x>
-               <y>288</y>
+               <x>224</x>
+               <y>512</y>
        </drenaje>
-       <tanque nombre="tanque8" id="9">
-               <capacidad>40,00</capacidad>
-               <inicial>6,00</inicial>
-               <color>
-                       <rojo>52477</rojo>
-                       <verde>53774</verde>
-                       <azul>16764</azul>
-               </color>
+       <codo nombre="codo9" id="9">
+               <caudal>20,00</caudal>
                <conector>
-                       <entrada>tanque8</entrada>
-                       <salida>tanque8</salida>
+                       <salida>tubo10</salida>
+                       <entrada>division3</entrada>
                </conector>
-               <orientacion>0</orientacion>
-               <x>192</x>
-               <y>256</y>
-       </tanque>
-       <tubo nombre="tubo9" id="10">
-               <caudal>0,00</caudal>
+               <orientacion>1</orientacion>
+               <x>224</x>
+               <y>224</y>
+       </codo>
+       <tubo nombre="tubo10" id="10">
+               <caudal>25,00</caudal>
                <conector>
-                       <salida>tubo9</salida>
-                       <salida>tubo9</salida>
+                       <salida>codo12</salida>
+                       <entrada>codo9</entrada>
                </conector>
-               <orientacion>1</orientacion>
+               <orientacion>0</orientacion>
                <x>256</x>
-               <y>288</y>
+               <y>128</y>
        </tubo>
-       <codo nombre="codo10" id="11">
-               <caudal>0,00</caudal>
+       <empalme nombre="union11" id="11">
+               <tipo>union</tipo>
                <conector>
-                       <salida>codo10</salida>
-                       <salida>codo10</salida>
+                       <entrada>codo12</entrada>
+                       <entrada>exclusa13</entrada>
+                       <salida>tubo15</salida>
                </conector>
+               <caudal>45,00</caudal>
                <orientacion>0</orientacion>
-               <x>160</x>
-               <y>192</y>
+               <x>320</x>
+               <y>64</y>
+       </empalme>
+       <codo nombre="codo12" id="12">
+               <caudal>30,00</caudal>
+               <conector>
+                       <entrada>tubo10</entrada>
+                       <salida>union11</salida>
+               </conector>
+               <orientacion>3</orientacion>
+               <x>256</x>
+               <y>64</y>
        </codo>
-       <exclusa nombre="exclusa11" id="12">
+       <exclusa nombre="exclusa13" id="13">
                <conector>
-                       <salida>exclusa11</salida>
-                       <salida>exclusa11</salida>
+                       <salida>union11</salida>
+                       <entrada>bomba14</entrada>
                </conector>
-               <orientacion>1</orientacion>
+               <orientacion>0</orientacion>
                <estado>1</estado>
-               <x>96</x>
+               <x>416</x>
+               <y>64</y>
+       </exclusa>
+       <bomba nombre="bomba14" id="14">
+               <entrega>15,00</entrega>
+               <color>
+                       <rojo>0</rojo>
+                       <verde>0</verde>
+                       <azul>0</azul>
+               </color>
+               <conector>
+                       <salida>exclusa13</salida>
+               </conector>
+               <orientacion>1</orientacion>
+               <x>480</x>
+               <y>64</y>
+       </bomba>
+       <tubo nombre="tubo15" id="15">
+               <caudal>20,00</caudal>
+               <conector>
+                       <entrada>union11</entrada>
+                       <salida>codo16</salida>
+               </conector>
+               <orientacion>0</orientacion>
+               <x>352</x>
+               <y>128</y>
+       </tubo>
+       <codo nombre="codo16" id="16">
+               <caudal>25,00</caudal>
+               <conector>
+                       <salida>drenaje17</salida>
+                       <entrada>tubo15</entrada>
+               </conector>
+               <orientacion>2</orientacion>
+               <x>352</x>
+               <y>224</y>
+       </codo>
+       <drenaje nombre="drenaje17" id="17">
+               <conector>
+                       <entrada>codo16</entrada>
+               </conector>
+               <orientacion>3</orientacion>
+               <x>416</x>
                <y>256</y>
+       </drenaje>
+       <exclusa nombre="exclusa18" id="18">
+               <conector>
+                       <entrada>tanque6</entrada>
+                       <salida>codo7</salida>
+               </conector>
+               <orientacion>0</orientacion>
+               <estado>1</estado>
+               <x>128</x>
+               <y>448</y>
        </exclusa>
 </planta>