X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a8803d96a8a33195ae9234b5e6ea84d7eefa0fd9..20f9c9932f7c6e0ba6d50636a6d73420da79606b:/Model/include/simulator.h?ds=inline diff --git a/Model/include/simulator.h b/Model/include/simulator.h index cd68c05..3713776 100644 --- a/Model/include/simulator.h +++ b/Model/include/simulator.h @@ -50,7 +50,7 @@ public: /// Tipos de elementos enum {PUMP, UNION, SPLITTER, CONDUCT, EXCLUSA, TANK, DRAINAGE}; - bool pump_deactivate(const std::string &name); + bool set_open(const std::string &name, bool open = true); protected: // Los mantengo en listas separadas para ahorrar // CPU y no tener que usar dinamic_cast