X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e2a544ed0d4321fa6847389ea905f70b1655ee78..3b0c56cf70eaac383f3cff2b3c76d1ec04595b92:/Model/src/tank.cpp diff --git a/Model/src/tank.cpp b/Model/src/tank.cpp index 0a83de3..c9a4cc6 100644 --- a/Model/src/tank.cpp +++ b/Model/src/tank.cpp @@ -108,5 +108,7 @@ void Tank::get_state_as_xml(std::stringstream &out) out << "\t" << std::endl; out << "\t\t" << capacity << "" << std::endl; out << "\t\t" << litros << "" << std::endl; + out << "\t\t" << (output->get_output()?"true":"false") << "" << std::endl; + out << "\t\t" << (input->get_output()?"true":"false") << "" << std::endl; out << "\t" << std::endl; }