stephb9959
2022-12-10 23:01:31 -08:00
parent 766be1aa3c
commit f2badf7b6d
6 changed files with 41 additions and 9 deletions

View File

@@ -51,7 +51,8 @@ namespace OpenWifi::GWObjects {
field_to_json(Obj,"modified", modified);
field_to_json(Obj,"locale", locale);
field_to_json(Obj,"restrictedDevice", restrictedDevice);
field_to_json(Obj,"pendingConfiguration", pendingConfiguration);
field_to_json(Obj,"pendingConfigurationCmd", pendingConfigurationCmd);
}
void Device::to_json_with_status(Poco::JSON::Object &Obj) const {
@@ -93,6 +94,8 @@ namespace OpenWifi::GWObjects {
field_from_json(Obj,"entity", entity);
field_from_json(Obj,"locale", locale);
field_from_json(Obj,"restrictedDevice", restrictedDevice);
field_from_json(Obj,"pendingConfiguration", pendingConfiguration);
field_from_json(Obj,"pendingConfigurationCmd", pendingConfigurationCmd);
return true;
} catch (const Poco::Exception &E) {
}