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
package fence;
 
import Method.ControTag;
import PbuliClass.Systems;
import tag.Tag_Dell;
import urt.Control_urt;
 
/**
 * ½øÈëΧÀ¸µÄʱºò¿ØÖÆ·äÃù»òÕßÕð¶¯
 */
public class Kongzhizhengdong {
    public static void contril(String tagid,String message) {
        if (Systems.isWifi()) {//Èç¹ûÊÇWIFI°æ±¾Ä£Ê½
            ControTag.wifi_urt_fengming(tagid, 5);
        } else {
            if (Systems.isWuxian()) {//Èç¹ûÊÇÎÞÏß°æ±¾
                //Èç¹û±êÇ©ÀàÐÍÊÇÈÚºÏÖÕ¶Ë»òÕßÊÇURT+COÔòÏ·¢ÓïÒô  2023.07.21 zsh
                if (Tag_Dell.get_tag(tagid).getTagtype().equals("ÈÚºÏÖÕ¶Ë") || Tag_Dell.get_tag(tagid).getTagtype().equals("URT+CO")) {
                    Control_urt.say_voice(tagid, message, Systems.getFmtime(), 3);
                }else {
                    Control_urt.alert_onetag(tagid, 16, Systems.getFmtime(), 3);
                }
            } else {
                ControTag.konghzitag(Systems.getFmtime(), tagid, (byte) (byte) 0x10, "", "½øÈëΧÀ¸Ï·¢");//Ï·¢Õñ¶¯
            }
        }
    }
 
}