zsh_root
2024-01-02 7b595546af704983dbafcd0d385c8768ddacefc2
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
40
41
42
43
package BaoWen;
import PbuliClass.ShowMessage;
import fence.Fences;
import fence.juge_is_in_fence;
import tag.Tag_Dell;
import tbDataModel_Dell.Map_Dell;
 
/**¸ÃÀàÓÃÓÚÊÕµ½ÕýÈ·µÄλÖÃÐÅÏ¢ºó×ö´¦Àí*/
public class HaveOkPosDo {
    static boolean ok=true;
    /**µ±ÊÕµ½ÓÐЧµÄλÖÃÐÅÏ¢ºóÐèÒªÖ´ÐÐÈçϵÄһЩ²Ù×÷*/
    public static void do_something(
            String tagid,
            String baoxu,
            int x,
            int y,
            int z,
            String floor,
            String tagheight,
            String battery) {        
        Tag_Dell.alert_xy_and_floor(tagid, x, y,z,floor);//Ð޸ıêÇ©µÄXYºÍÂ¥²ãÐÅÏ¢
        if(Fences.getFeces().size()==0) {//Èç¹ûΧÀ¸²»´æÔÚ
            return;
        }
        if(Map_Dell.get_map(floor) ==null) {//Èç¹û²ã²»´æÔÚ
            if(ok) {
                ShowMessage.zidingyi_24("µØÍ¼"+floor+"²ã²»´æÔÚ...");
                ok=false;
            }
            return;
        }
 
        juge_is_in_fence.in_fences(tagid, floor, x, y, z, battery,1);
 
    }
 
    public static boolean isOk() {
        return ok;
    }
 
 
 
}