]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Model/src/tank.cpp
El make_tar va a usar el numero de REV en breve
[z.facultad/75.42/plaqui.git] / Model / src / tank.cpp
index 0a83de3c5ad1ed1047683f75f533c79a14c57bbb..c9a4cc668c3e4483cc8e7a56030607b93c15a5a8 100644 (file)
@@ -108,5 +108,7 @@ void Tank::get_state_as_xml(std::stringstream &out)
        out << "\t<tank name=\"" << name << "\">" << std::endl;
        out << "\t\t<capacity>" << capacity << "</capacity>" << std::endl;
        out << "\t\t<litros>" << litros << "</litros>" << std::endl;
        out << "\t<tank name=\"" << name << "\">" << std::endl;
        out << "\t\t<capacity>" << capacity << "</capacity>" << std::endl;
        out << "\t\t<litros>" << litros << "</litros>" << std::endl;
+       out << "\t\t<salida id=\"inferior\"><active>" << (output->get_output()?"true":"false") << "</active></salida>" << std::endl;
+       out << "\t\t<salida id=\"superior\"><active>" << (input->get_output()?"true":"false") << "</active></salida>" << std::endl;
        out << "\t</tank>" << std::endl;
 }
        out << "\t</tank>" << std::endl;
 }