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, "", "½øÈëΧÀ¸Ï·¢");//Ï·¢Õñ¶¯
|
}
|
}
|
}
|
|
}
|