]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/or.cpp
cambio la sintaxis XML de las compuertas
[z.facultad/75.42/plaqui.git] / Constructor / src / or.cpp
index 2c17f7aaeb81909938e32a908fb189a7d0dfdb47..d7ba294d645a76a1f06cb504caee443d6c69a95b 100644 (file)
@@ -154,12 +154,12 @@ void Or::save(FILE *archivo)
        for ( int i=0; i<=vec_connector.size()-1&&!vec_connector.empty(); i++) {
                if ( vec_connector[i].type == IN ) {
                        if ( vec_connector[i].cistern_connector == 1 ) {
-                               dato += "\t\t<entrada><tanque id = \"superior\">";
-                               dato += vec_connector[i].name_dest + "</tanque></entrada>\n";
+                               dato += "\t\t<entrada id = \"superior\">";
+                               dato += vec_connector[i].name_dest + "</entrada>\n";
                        }
                        if ( vec_connector[i].cistern_connector == 0 ) {
-                               dato += "\t\t<entrada><tanque id = \"inferior\">";
-                               dato += vec_connector[i].name_dest + "</tanque></entrada>\n";
+                               dato += "\t\t<entrada id = \"inferior\">";
+                               dato += vec_connector[i].name_dest + "</entrada>\n";
                        }
                        if ( vec_connector[i].cistern_connector == -1 ) {
                                dato += "\t\t<entrada>";