Version FC
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: Component.hpp
- Revision:
- 30:20f58f30113d
- Parent:
- 21:8524d815c587
- Child:
- 32:3bef9b81f639
--- a/Component.hpp Tue Sep 18 20:06:35 2018 +0000 +++ b/Component.hpp Tue Sep 18 20:18:44 2018 +0000 @@ -26,16 +26,20 @@ BME280 = 5, DS18B20 = 6 } ; - + /* Component(COMPONENT_ID id, std::vector<Service*>& services) { this->id = id; this->services = services; } - + */ std::vector<Service*>& getServices() { return this->services; } - + + void setServices(std::vector<Service*>& serv) { + this->services = serv; + } + COMPONENT_ID getId() { return this->id; }