| | |
| | | |
| | | subJson.append("\"IsSync\":\"" + item.second.uploadFlag + "\","); |
| | | subJson.append("\"threshold\":\"" + item.second.cmpThreshold + "\","); |
| | | subJson.append("\"create_by\":\"" + item.second.create_by + "\","); |
| | | subJson.append("\"createBy\":\"" + item.second.create_by + "\","); |
| | | subJson.append("\"enabled\":\"" + item.second.enabled + "\""); |
| | | subJson.append("},"); |
| | | json.append(subJson); |
| | |
| | | subJson.append("\"end_time\":\"" + item.endTime + "\","); |
| | | subJson.append("\"IsSync\":\"" + item.uploadFlag + "\","); |
| | | subJson.append("\"threshold\":\"" + item.cmpThreshold + "\","); |
| | | subJson.append("\"create_by\":\"" + item.createBy + "\","); |
| | | subJson.append("\"createBy\":\"" + item.createBy + "\","); |
| | | subJson.append("\"enabled\":\"" + item.enabled + "\""); |
| | | subJson.append("},"); |
| | | json.append(subJson); |
| | |
| | | perInfo["StartTime"] = StartTime; |
| | | perInfo["EndTime"] = EndTime; |
| | | perInfo["IsSync"] = UploadFlag; |
| | | perInfo["threshold"] = CmpThreshold; |
| | | perInfo["threshold"] = atoi(CmpThreshold.c_str()); |
| | | perInfo["enabled"] = Enabled; |
| | | perInfo["distributionIds"] = m_cluster_id; |
| | | perInfo["distributionNames"] = m_cluster_name; |