Lamp factory adaption

This commit is contained in:
Johannes Wendel
2020-01-15 16:17:06 +01:00
parent e32659a3e6
commit a4ccf2103d
7 changed files with 60 additions and 6 deletions

View File

@@ -22,6 +22,10 @@ class LampFactory : ItemFactory
public:
LampFactory(nlohmann::json & object, std::shared_ptr<DriverBoardPinController> pin_controller);
std::map<std::string, std::shared_ptr<items::Lamp>> getItemMap();
private:
void set_address_pins();
uint8_t get_address_pin(nlohmann::json & pin_object);
};
}