Update DetectVehicleIllegalParking DetectVehicleICongestion.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2021-02-04 Version: patch
|
||||
- Update DetectVehicleIllegalParking DetectVehicleICongestion.
|
||||
|
||||
2021-02-04 Version: patch
|
||||
- Supported scheduler for outbound call.
|
||||
|
||||
|
||||
@@ -40,7 +40,9 @@ namespace AlibabaCloud
|
||||
std::string type;
|
||||
std::vector<std::string> box;
|
||||
};
|
||||
long height;
|
||||
std::vector<Element> elements;
|
||||
long width;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user