Add source id for list face detail.
This commit is contained in:
@@ -94,6 +94,8 @@ void ListBodyAlgorithmResultsResult::parse(const std::string &payload)
|
||||
recordsItemObject.coatColor = dataNodeRecordsRecordsItem["CoatColor"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["TrousersColor"].isNull())
|
||||
recordsItemObject.trousersColor = dataNodeRecordsRecordsItem["TrousersColor"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["SourceId"].isNull())
|
||||
recordsItemObject.sourceId = dataNodeRecordsRecordsItem["SourceId"].asString();
|
||||
data_.records.push_back(recordsItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -82,6 +82,8 @@ void ListFaceAlgorithmResultsResult::parse(const std::string &payload)
|
||||
recordsItemObject.picUrlPath = dataNodeRecordsRecordsItem["PicUrlPath"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["TargetPicUrlPath"].isNull())
|
||||
recordsItemObject.targetPicUrlPath = dataNodeRecordsRecordsItem["TargetPicUrlPath"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["SourceId"].isNull())
|
||||
recordsItemObject.sourceId = dataNodeRecordsRecordsItem["SourceId"].asString();
|
||||
data_.records.push_back(recordsItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -92,6 +92,8 @@ void ListMotorAlgorithmResultsResult::parse(const std::string &payload)
|
||||
recordsItemObject.safetyBelt = dataNodeRecordsRecordsItem["SafetyBelt"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["Calling"].isNull())
|
||||
recordsItemObject.calling = dataNodeRecordsRecordsItem["Calling"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["SourceId"].isNull())
|
||||
recordsItemObject.sourceId = dataNodeRecordsRecordsItem["SourceId"].asString();
|
||||
data_.records.push_back(recordsItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -69,6 +69,17 @@ void ReportDeviceCapacityRequest::setPresetNum(const std::string& presetNum)
|
||||
setBodyParameter("PresetNum", presetNum);
|
||||
}
|
||||
|
||||
std::string ReportDeviceCapacityRequest::getDeviceTimeStamp()const
|
||||
{
|
||||
return deviceTimeStamp_;
|
||||
}
|
||||
|
||||
void ReportDeviceCapacityRequest::setDeviceTimeStamp(const std::string& deviceTimeStamp)
|
||||
{
|
||||
deviceTimeStamp_ = deviceTimeStamp;
|
||||
setBodyParameter("DeviceTimeStamp", deviceTimeStamp);
|
||||
}
|
||||
|
||||
std::string ReportDeviceCapacityRequest::getDeviceSn()const
|
||||
{
|
||||
return deviceSn_;
|
||||
|
||||
Reference in New Issue
Block a user