X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e2a544ed0d4321fa6847389ea905f70b1655ee78..025f50123cb4ffad9847ea588967314e6aec0567:/Model/src/tank.cpp?ds=sidebyside 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; }