|
|
@ -364,11 +364,11 @@ public class MicroPhotoContext {
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject jsonObject = TextUtils.isEmpty(content) ? new JSONObject() : new JSONObject(content);
|
|
|
|
JSONObject jsonObject = TextUtils.isEmpty(content) ? new JSONObject() : new JSONObject(content);
|
|
|
|
jsonObject.put("CMDID", appConfig.cmdid);
|
|
|
|
jsonObject.put("CMDID", appConfig.cmdid);
|
|
|
|
jsonObject.put("Server", appConfig.server);
|
|
|
|
jsonObject.put("server", appConfig.server);
|
|
|
|
jsonObject.put("Port", appConfig.port);
|
|
|
|
jsonObject.put("port", appConfig.port);
|
|
|
|
jsonObject.put("Protocol", appConfig.protocol);
|
|
|
|
jsonObject.put("protocol", appConfig.protocol);
|
|
|
|
jsonObject.put("NetworkProtocol", appConfig.networkProtocol);
|
|
|
|
jsonObject.put("networkProtocol", appConfig.networkProtocol);
|
|
|
|
jsonObject.put("Network", appConfig.network);
|
|
|
|
jsonObject.put("network", appConfig.network);
|
|
|
|
|
|
|
|
|
|
|
|
if (appConfig.heartbeat > 0) {
|
|
|
|
if (appConfig.heartbeat > 0) {
|
|
|
|
jsonObject.put("heartbeat", appConfig.heartbeat);
|
|
|
|
jsonObject.put("heartbeat", appConfig.heartbeat);
|
|
|
|