Update DetectVehicleIllegalParking DetectVehicleICongestion.

This commit is contained in:
sdk-team
2021-02-04 10:01:29 +00:00
parent ee902a7f28
commit 272a1c1466
3 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2021-02-04 Version: patch
- Update DetectVehicleIllegalParking DetectVehicleICongestion.
2021-02-04 Version: patch
- Supported scheduler for outbound call.

View File

@@ -40,7 +40,9 @@ namespace AlibabaCloud
std::string type;
std::vector<std::string> box;
};
long height;
std::vector<Element> elements;
long width;
};

View File

@@ -40,6 +40,10 @@ void DetectIPCObjectResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["Height"].isNull())
data_.height = std::stol(dataNode["Height"].asString());
if(!dataNode["Width"].isNull())
data_.width = std::stol(dataNode["Width"].asString());
auto allElementsNode = dataNode["Elements"]["Element"];
for (auto dataNodeElementsElement : allElementsNode)
{