+void Pump::get_state_as_xml(std::stringstream &out)
+{
+ // Saco el item basico por XML
+ PlantItem::get_state_as_xml(out);
+
+ // Saco lo importante de este item
+ out << "\t<pump name=\"" << name << "\">" << std::endl;
+ out << "\t\t<active>" << ((open&&active)?"true":"false") << "</active>" << std::endl;
+ out << "\t</pump>" << std::endl;
+}
+