X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f7e6ba4976cdafcb4aa3e39b03539d5a3d12f6a4..6dd05bd84faebf6d7e9e36a0f1dd040ef9fb24a3:/Model/include/pump.h?ds=inline diff --git a/Model/include/pump.h b/Model/include/pump.h index b7b1575..b8b12f0 100644 --- a/Model/include/pump.h +++ b/Model/include/pump.h @@ -42,6 +42,7 @@ public: void activate() { active = true; } /// Desactiva la bomba void deactivate() { active = false; } + void get_state_as_xml(std::stringstream &out); protected: /** Define si la bomba esta abierta o no. Esto lo maneja la logica de * control @@ -52,7 +53,7 @@ protected: */ bool active; private: - Pump(const Pump &):Source("null"),Control("null") {} + Pump(const Pump &):Control("null"),Source("null") {} Pump &operator = (const Pump &) { return *this; } };