Adding locale to inventory

This commit is contained in:
stephb9959
2022-02-24 11:13:39 -08:00
parent 73a096b0ad
commit 72dd336b08
9 changed files with 33 additions and 7 deletions

View File

@@ -37,6 +37,7 @@ namespace OpenWifi::GWObjects {
uint64_t webSocketClients=0;
uint64_t kafkaPackets=0;
uint64_t websocketPackets=0;
std::string locale;
void to_json(Poco::JSON::Object &Obj) const;
};
@@ -62,6 +63,7 @@ namespace OpenWifi::GWObjects {
std::string subscriber;
std::string entity;
uint64_t modified=0;
std::string locale;
void to_json(Poco::JSON::Object &Obj) const;
void to_json_with_status(Poco::JSON::Object &Obj) const;