yzt
2023-05-05 4c558c77a6a9d23f057f094c4dc3e315eabef497
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.hxzkoa.udp;
 
import com.hxzkoa.util.Config;
 
public class Hxzk_heart {
    /*
     * 6.定位引擎心跳包hxzk_heart C/S引擎心跳包,心跳数据默认10秒钟发送一次。
     * hxzk_heart,[length],[timestamp],[mark]
     */
    static String postUrl = Config.getPostUrl();
 
    public static void hxzk_heart(String message) {
        // postUrl = postUrl + "sensorManagement_bw.do";
        String[] dis = message.split(",");
        String timestamp = dis[2];
        // 更改标签的状态和电量信息
        // JSONObject tagObject = JSONObject.fromObject(sensor);
        // HttpUtil.doPost(postUrl, tagObject.toString(),Config.getCharset());
    }
 
}