consolidate all repos to one for archive
This commit is contained in:
7
semester_2/programiranje_2/naloga0502/WateringSistem.cpp
Normal file
7
semester_2/programiranje_2/naloga0502/WateringSistem.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#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";
|
||||
}
|
||||
Reference in New Issue
Block a user