X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/0aacdcf95cf6d4f33a2201160d472ab84148d52b..cafdb587ee6e195e5a917cea7570c2ea7e22a003:/Model/src/exclusa.cpp?ds=sidebyside diff --git a/Model/src/exclusa.cpp b/Model/src/exclusa.cpp index 34b2fab..8e64bc3 100644 --- a/Model/src/exclusa.cpp +++ b/Model/src/exclusa.cpp @@ -50,3 +50,14 @@ void Exclusa::recieve_msg(int msg, IConector *who, void *data) } } +void Exclusa::get_state_as_xml(std::stringstream &out) +{ + // Datos comunes + // hack to avoid output problems :-) + actual_flow = temp; + PlantItem::get_state_as_xml(out); + out << "\t" << std::endl; + out << "\t\t" << ((is_open)?"true":"false") << "" << std::endl; + out << "\t" << std::endl; +} +