8 lines
379 B
C++
8 lines
379 B
C++
#include "WateringSistem.h"
|
|
|
|
WateringSistem::WateringSistem(std::string id, std::string name, int startHour, int endHour) : Device(id,name), startHour(startHour), endHour(endHour) {}
|
|
|
|
std::string WateringSistem::toString() const {
|
|
return " id: " + id + " name: " + name + " start hour: " + std::to_string(startHour) + " end hour: " + std::to_string(endHour) + "\n";
|
|
}
|