FIX: update the display of AMSHumidity

jira: [STUDIO-10119]
Change-Id: I7a1be57bd0dff13be149d6450b36fb54ffa9521d
(cherry picked from commit c3a8690987005e0f53bbd5f9622a670e76bed93a)
This commit is contained in:
xin.zhang authored and Noisyfox committed 2025-05-19 11:04:15 +08:00
1 parent 80b234a369
commit 2a19372ca0
5 files changed
+40

No files matched your search

+5
View File
@@ -4056,6 +4056,11 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
}
if (!curr_ams) continue;
if (it->contains("dry_time") && (*it)["dry_time"].is_number())
{
curr_ams->left_dry_time = (*it)["dry_time"].get<int>();
}
if (it->contains("humidity")) {
std::string humidity = (*it)["humidity"].get<std::string>();