9.1
15832144755
2021-09-01 c6d9be2aac4965e847fd958288170e26e79b219d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package com.hxzkoa.udp;
 
/** 如果数据是55AA01开头的执行如下操作 */
public class Have_55AA01_do {
    static int guji = 0;// 轨迹点数
    int sleeptime = 0;
    static boolean dellok = true;
 
    /** 处理以55AA01开头的测距数据 */
    public static void dell_55AA01(String ip, String hex, String time, int timestamp) {
         DellMessage.dell_info(ip, hex, time, timestamp);
 
    }
 
    /** 处理轨迹点 */
    public static void dell_gui() {
        // ToolBarModel.getjbt_tongji().setText(guji + "");
        // if ((guji % 2) == 0) {
        // ToolBarModel.getJbt_datajiaohu().setIcon(new
        // ImageIcon("image/icon/datajiaohu.png"));
        // } else {
        // ToolBarModel.getJbt_datajiaohu().setIcon(new
        // ImageIcon("image/icon/datajiaohu1.png"));
        // }
        // guji++;
    }
 
    public static int getGuji() {
        return guji;
    }
 
    public static boolean isDellok() {
        return dellok;
    }
 
    public static void setDellok(boolean dellok) {
        Have_55AA01_do.dellok = dellok;
    }
}