m_Qmutex.lock();
QJsonObject json; //最终的json对象
QJsonArray vArray; //GPS位置
vArray.append(gpsInfo.longitude);
vArray.append(gpsInfo.latitude);
json.insert("deviceLocation", QJsonValue(vArray));
QJsonObject temp; //上传的数据整个数组
QJsonArray displayKeys;
temp.insert("ADC1", QJsonValue(detectorData[0].ADCData1));
temp.insert("ADC2", QJsonValue(detectorData[0].ADCData2));
temp.insert("countRate", QJsonValue((detectorData[0].RateCount1 + detectorData[0].RateCount2)/2));
temp.insert("computation", QJsonValue(dose));
temp.insert("RateCount1", QJsonValue(detectorData[0].RateCount1));
temp.insert("RateCount2", QJsonValue(detectorData[0].RateCount2));
temp.insert("threeSecondsRateCount1", QJsonValue(detectorData[0].threeSecondsRateCount1));
temp.insert("threeSecondsRateCount2", QJsonValue(detectorData[0].threeSecondsRateCount2));
displayKeys.append(temp);
json.insert("displayKeys", QJsonValue(displayKeys));
//json.insert("ADC1", detectorData[0].ADCData1);
//json.insert("ADC2", detectorData[0].ADCData2);
//json.insert("RateCount1", detectorData[0].RateCount1);
//json.insert("RateCount2", detectorData[0].RateCount2);
//json.insert("threeSecondsRateCount1", detectorData[0].threeSecondsRateCount1);
//json.insert("threeSecondsRateCount2", detectorData[0].threeSecondsRateCount2);
slotsUploadUniversalData(json);
m_Qmutex.unlock();