Commit d0624046 by pye52

Merge branch 'develop' into test

parents 4286c251 6cd22534
......@@ -110,10 +110,11 @@ public class MainWebSocket extends WebSocketClient {
}
private void doHeartbeat() {
// 每10分钟发一次心跳包给后端
// 每3分钟发一次心跳包给后端
// 原为10分钟一次,现改为3分钟一次以方便后台预警功能
sAutoCheckCount -= 2;
if (sAutoCheckCount < 0) {
sAutoCheckCount = 10 * 60;
sAutoCheckCount = 3 * 60;
try {
JSONObject data = new JSONObject();
data.put(FieldEnum.equipmentId.name(), sDeviceSN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment