|
|
@@ -546,6 +546,18 @@ public class MessageUtils { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static void sendDJIP(String djIp) { |
|
|
|
try { |
|
|
|
JSONObject jo = new JSONObject(); |
|
|
|
String methodType = "djIp"; |
|
|
|
jo.put("type", methodType); |
|
|
|
jo.put("data", djIp); |
|
|
|
sendMessage(jo.toString(), methodType); |
|
|
|
} catch (JSONException e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public static void sendVadBegin(String time) { |
|
|
|
try { |
|
|
|
JSONObject jo = new JSONObject(); |
|
|
|