Mario Simaremare
/
g3_waterplay
Salinity and temperature sensors are implemented in classes.
Diff: Waterplay.h
- Revision:
- 3:7c648d1d8802
- Child:
- 6:931a7fe8fa52
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Waterplay.h Thu Jun 16 11:28:59 2016 +0000 @@ -0,0 +1,34 @@ +/* +* G3: WATERPLAY +*/ + +#ifndef WATERPLAY_H +#define WATERPLAY_H + +#include "Printer.h" +#include "TemperatureSensor.h" +#include "SalinitySensor.h" +#include "Thermostat.h" +#include "Flasher.h" + +class Waterplay +{ +public: + Waterplay( + Printer &printer, + TemperatureSensor &temperatureSensor, + SalinitySensor &salinitySensor, + Thermostat &thermostat, + Flasher &flasher + ); + int control(); + +private: + Printer &_printer; + TemperatureSensor &_temperatureSensor; + SalinitySensor &_salinitySensor; + Thermostat &_thermostat; + Flasher &_flasher; +}; + +#endif \ No newline at end of file