X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/f7e6ba4976cdafcb4aa3e39b03539d5a3d12f6a4..24ac99bd21e4562a6ae028e0a84d8c09da07058b:/Model/include/pump.h 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; } };