|
|
|
|
@ -50,6 +50,7 @@ Json::Value CheckResultJson::toJsonValue()
|
|
|
|
|
value["flen"] = p->flen;
|
|
|
|
|
value["nconfig_qx_type"] = p->nconfig_qx_type;
|
|
|
|
|
value["qx_name"] = p->qx_name;
|
|
|
|
|
value["qx_level"] = p->qx_level;
|
|
|
|
|
value["maxValue"] = p->maxValue;
|
|
|
|
|
value["grayDis"] = p->grayDis;
|
|
|
|
|
value["fUpIou"] = p->fUpIou;
|
|
|
|
|
@ -138,6 +139,7 @@ void CheckResultJson::toObjectFromValue(Json::Value root)
|
|
|
|
|
tem.flen = errorJson["flen"].asFloat();
|
|
|
|
|
tem.nconfig_qx_type = errorJson["nconfig_qx_type"].asInt();
|
|
|
|
|
tem.qx_name = errorJson["qx_name"].asString();
|
|
|
|
|
tem.qx_level = errorJson["qx_level"].asString();
|
|
|
|
|
tem.maxValue = errorJson["maxValue"].asInt();
|
|
|
|
|
tem.grayDis = errorJson["grayDis"].asFloat();
|
|
|
|
|
tem.fUpIou = errorJson["fUpIou"].asFloat();
|
|
|
|
|
|