]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - Samples/2_circuitos.xml
Se corrige el XML a mano para probarlo.
[z.facultad/75.42/plaqui.git] / Samples / 2_circuitos.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2 <planta>
3         <bomba nombre="bomba0" id="0">
4                 <entrega>10,00</entrega>
5                 <color>
6                         <rojo>51609</rojo>
7                         <verde>41037</verde>
8                         <azul>27677</azul>
9                 </color>
10                 <conector>
11                         <salida>union1</salida>
12                 </conector>
13                 <orientacion>0</orientacion>
14                 <x>64</x>
15                 <y>96</y>
16         </bomba>
17         <empalme nombre="union1" id="1">
18                 <tipo>union</tipo>
19                 <conector>
20                         <entrada>bomba0</entrada>
21                         <entrada>bomba2</entrada>
22                         <salida>tubo3</salida>
23                 </conector>
24                 <caudal>10,00</caudal>
25                 <orientacion>0</orientacion>
26                 <x>160</x>
27                 <y>96</y>
28         </empalme>
29         <bomba nombre="bomba2" id="2">
30                 <entrega>10,00</entrega>
31                 <color>
32                         <rojo>51984</rojo>
33                         <verde>48747</verde>
34                         <azul>23713</azul>
35                 </color>
36                 <conector>
37                         <salida>union1</salida>
38                 </conector>
39                 <orientacion>1</orientacion>
40                 <x>256</x>
41                 <y>96</y>
42         </bomba>
43         <tubo nombre="tubo3" id="3">
44                 <caudal>10,00</caudal>
45                 <conector>
46                         <entrada>union1</entrada>
47                         <salida>drenaje4</salida>
48                 </conector>
49                 <orientacion>0</orientacion>
50                 <x>192</x>
51                 <y>160</y>
52         </tubo>
53         <drenaje nombre="drenaje4" id="4">
54                 <conector>
55                         <entrada>tubo3</entrada>
56                 </conector>
57                 <orientacion>0</orientacion>
58                 <x>192</x>
59                 <y>256</y>
60         </drenaje>
61         <bomba nombre="bomba5" id="5">
62                 <entrega>10,00</entrega>
63                 <color>
64                         <rojo>65535</rojo>
65                         <verde>65535</verde>
66                         <azul>0</azul>
67                 </color>
68                 <conector>
69                         <salida>division7</salida>
70                 </conector>
71                 <orientacion>0</orientacion>
72                 <x>32</x>
73                 <y>480</y>
74         </bomba>
75         <bomba nombre="bomba6" id="6">
76                 <entrega>10,00</entrega>
77                 <color>
78                         <rojo>0</rojo>
79                         <verde>65535</verde>
80                         <azul>65535</azul>
81                 </color>
82                 <conector>
83                         <salida>division11</salida>
84                 </conector>
85                 <orientacion>1</orientacion>
86                 <x>416</x>
87                 <y>480</y>
88         </bomba>
89         <empalme nombre="division7" id="7">
90                 <tipo>division</tipo>
91                 <conector>
92                         <salida>codo9</salida>
93                         <salida>codo12</salida>
94                         <entrada>bomba5</entrada>
95                 </conector>
96                 <caudal>10,00</caudal>
97                 <orientacion>1</orientacion>
98                 <x>128</x>
99                 <y>448</y>
100         </empalme>
101         <empalme nombre="union8" id="8">
102                 <tipo>union</tipo>
103                 <conector>
104                         <entrada>codo10</entrada>
105                         <entrada>codo9</entrada>
106                         <salida>drenaje17</salida>
107                 </conector>
108                 <caudal>10,00</caudal>
109                 <orientacion>2</orientacion>
110                 <x>224</x>
111                 <y>352</y>
112         </empalme>
113         <codo nombre="codo9" id="9">
114                 <caudal>10,00</caudal>
115                 <conector>
116                         <entrada>division7</entrada>
117                         <salida>union8</salida>
118                 </conector>
119                 <orientacion>3</orientacion>
120                 <x>160</x>
121                 <y>384</y>
122         </codo>
123         <codo nombre="codo10" id="10">
124                 <caudal>10,00</caudal>
125                 <conector>
126                         <salida>union8</salida>
127                         <entrada>division11</entrada>
128                 </conector>
129                 <orientacion>0</orientacion>
130                 <x>320</x>
131                 <y>384</y>
132         </codo>
133         <empalme nombre="division11" id="11">
134                 <tipo>division</tipo>
135                 <conector>
136                         <salida>codo13</salida>
137                         <salida>codo10</salida>
138                         <entrada>bomba6</entrada>
139                 </conector>
140                 <caudal>10,00</caudal>
141                 <orientacion>3</orientacion>
142                 <x>352</x>
143                 <y>448</y>
144         </empalme>
145         <codo nombre="codo12" id="12">
146                 <caudal>10,00</caudal>
147                 <conector>
148                         <salida>union14</salida>
149                         <entrada>division7</entrada>
150                 </conector>
151                 <orientacion>2</orientacion>
152                 <x>160</x>
153                 <y>544</y>
154         </codo>
155         <codo nombre="codo13" id="13">
156                 <caudal>10,00</caudal>
157                 <conector>
158                         <entrada>division11</entrada>
159                         <salida>union14</salida>
160                 </conector>
161                 <orientacion>1</orientacion>
162                 <x>320</x>
163                 <y>544</y>
164         </codo>
165         <empalme nombre="union14" id="14">
166                 <tipo>union</tipo>
167                 <conector>
168                         <entrada>codo12</entrada>
169                         <entrada>codo13</entrada>
170                         <salida>drenaje16</salida>
171                 </conector>
172                 <caudal>10,00</caudal>
173                 <orientacion>0</orientacion>
174                 <x>224</x>
175                 <y>576</y>
176         </empalme>
177         <drenaje nombre="drenaje16" id="16">
178                 <conector>
179                         <entrada>union14</entrada>
180                 </conector>
181                 <orientacion>0</orientacion>
182                 <x>256</x>
183                 <y>640</y>
184         </drenaje>
185         <drenaje nombre="drenaje17" id="17">
186                 <conector>
187                         <entrada>union8</entrada>
188                 </conector>
189                 <orientacion>2</orientacion>
190                 <x>256</x>
191                 <y>320</y>
192         </drenaje>
193         <and nombre="and22" id="22">
194                 <orientacion>1</orientacion>
195                 <x>192</x>
196                 <y>320</y>
197                 <salida>bomba6</salida>
198                 <entrada>bomba2</entrada>
199                 <entrada>bomba0</entrada>
200         </and>
201 </planta>