package home;
|
import java.io.IOException;
|
import BaoWen.*;
|
import ColorAndFont.Data_to_bs;
|
import JNADell.Chushisuanfa;
|
import LedShow.LedCase;
|
import Method.About_tb_track;
|
import Netty.StartServer;
|
import PbuliClass.BuMens;
|
import PbuliClass.Leds;
|
import PbuliClass.ShowMessage;
|
import PbuliClass.Systems;
|
import VectroData.ForwardDatas;
|
import Xunjian.Dell_xunjianset;
|
import anchor.Anchor_Dell;
|
import anchor.Anchor_nerby_dell;
|
import anchor.Dell_cengao;
|
import fence.Fences;
|
import fence.kaoqing.Dell_KaoQing;
|
import fence.warning.RealWarnings;
|
import http.HTTP_Post;
|
import http.HTTP_Server;
|
import monitorGas.Dell_co;
|
import newnotable.Creattable;
|
import person.person_Dell;
|
import rtkanchor.Dell_jizhan;
|
import tag.Tag_Dell;
|
import tbDataModel_Dell.Dell_Fenceinout;
|
import tbDataModel_Dell.Dell_Polygon;
|
import tbDataModel_Dell.Dell_Tbicon;
|
import tbDataModel_Dell.Dell_TongbuAnchor;
|
import tbDataModel_Dell.Dell_adress_and_port;
|
import tbDataModel_Dell.Dell_tag_gas_jiaozhun_value;
|
import tbDataModel_Dell.Dell_tb_suanfa2;
|
import tbDataModel_Dell.Dell_tbcengzu;
|
import tbDataModel_Dell.Dell_tbline;
|
import tbDataModel_Dell.Map_Dell;
|
import tbDataModel_Dell.Tb_Warnig_Dell;
|
import tcp.TcpClientOneToMany;
|
import udp_out.udpAndTcpout;
|
import urt.Dell_gps;
|
import yunwei.dell_enginemonitor;
|
import yunwei.dell_shebei_manege;
|
|
/**¸ÃÀàÓÃÓÚÊý¾Ý¿â³õʼ»¯*/
|
public class DabaseInitialize {
|
public DabaseInitialize() {
|
Systems.chushi();
|
new dell_shebei_manege();
|
new dell_enginemonitor();
|
// new Creattable().no_exists_table();//´´½¨²»´æÔڵıí
|
// new person_Dell();
|
// new Tag_Dell();
|
// new Dell_Tbicon();
|
// new RealWarnings();
|
// new Dell_tbcengzu();//³õʼ»¯²ã×é¶ÔÏó
|
// new Dell_tb_suanfa2();//³õʼ»¯Ëã·¨2¶ÔÏó
|
// new Anchor_Dell();
|
// new Dell_tag_gas_jiaozhun_value();//³õʼ»¯±êÇ©ÆøÑ¹Ð£×¼»ùÕ¾¶ÔÏó
|
// new Map_Dell();
|
// new BuMens();//³õʼ»¯²¿ÃŶÔÏó
|
// new Tb_Warnig_Dell();
|
// new Dell_cengao();//³õʼ»¯²ã¸ß¶ÔÏó
|
// new Dell_adress_and_port();
|
// new Dell_Polygon();
|
// new Fences();
|
// Dell_gps.chushihua_tb_gps();
|
// Dell_xunjianset.chushihua();//»ñȡͬ²½»ùÕ¾µÄ¼¯ºÏ
|
// new Dell_TongbuAnchor();//»ñÈ¡ÁÙ½ü»ùÕ¾µÄ¼¯ºÏ
|
// new Anchor_nerby_dell();//¶¨Î»ÇøÓò³õʼ»¯
|
// Dell_Fenceinout.chushihua();//³õʼ»¯°ÑÊý¾Ý¸øµ½BS¶Ë
|
// Dell_tbline.chushihua();
|
// Data_to_bs.chushihuatobs();
|
// Chushisuanfa.TOJNA();//³õʼ»¯Ëã·¨¿â
|
// new Dell_co();//CO³õʼ»¯
|
// if (Systems.isBiandianzhan()) {
|
// Dell_jizhan.chushihua_tb_rtkac();//³õʼ»¯²î·Ö»ù׼վģʽ
|
// }
|
// ChuShiHua.ding_shi_qi();
|
// if (Systems.isSaveguiji()) {
|
// Open_soft_dialog.addara("³õʼ»¯¹ì¼£Êý¾Ý±í");//×Ô¶¯Ôö¼ÓÀúÊ·¹ì¼£±í
|
// About_tb_track.create_tb_track();
|
// About_tb_track.tb_gps_track();
|
// }
|
// if (Systems.isSuidaomoshi()) {//Èç¹û¿ªÆôËíµÀģʽ
|
// Dell_KaoQing.start();
|
// if (Leds.get_tb_led() != null && Leds.get_tb_led().getClose().equals("1")) {//Èç¹û¿ªÆôͶÆÁ¹¦ÄÜ´ò¿ª
|
// try {
|
// LedCase.chushihua();
|
// } catch (Exception e) {
|
// e.printStackTrace();
|
// }
|
// }
|
// }
|
|
//Æô¶¯TCPÊý¾Ýת·¢
|
// Boolean havetcp = ForwardDatas.get_mou_tb_forword("TCP").size() != 0;
|
//
|
// if (havetcp) {
|
// TcpClientOneToMany.startTCPCliet();
|
// }
|
//
|
// if (ForwardDatas.gethttp() != null) {
|
// HTTP_Server.httpget(ForwardDatas.gethttp());
|
// }
|
//
|
//
|
// if(ForwardDatas.isHTTPClient()) {//Èç¹û´æÔÚHTTTPת·¢
|
// new HTTP_Post().startThread();
|
// }
|
|
//¿ªÆô8234UDP¼àÌýÏß³Ì
|
// if(Systems.sys().getOpenudp().equals("1")) {
|
// new Udp_Receive().startThread();
|
// }
|
|
|
//¿ªÆô7000ÍⲿÊý¾Ý¼àÌý
|
if(Systems.sys().getCs_udp().length()>3) {
|
try {
|
new Urt_7000_port().startThread();
|
} catch (NumberFormatException e) {
|
ShowMessage.zidingyi_24(Systems.sys().getCs_udp()+"¶Ë¿Ú¼àÌý³ö´í");
|
} catch (IOException e) {
|
ShowMessage.zidingyi_24(Systems.sys().getCs_udp()+"¶Ë¿Ú¼àÌý³ö´í");
|
}
|
}
|
|
//¿ªÆôÆøÌå¼àÌý
|
// if(Systems.sys().getGas_open().equals("1")) {
|
// try {
|
// new gas_udp_receive().startThread();
|
// } catch (NumberFormatException e) {
|
// e.printStackTrace();
|
// } catch (IOException e) {
|
// e.printStackTrace();
|
// }
|
// }
|
|
//¿ªÆôTCP½ÓÊÕ
|
// String udpreive=Systems.sys().getBei_fen_di_zhi();
|
// if(udpreive.length()>3) {
|
// new StartServer().startThread();
|
// }
|
//
|
// new Dell_Baowen().startThread();
|
// new Dell_baowen_55AA0C().startThread();
|
// new udpAndTcpout().startThread();
|
|
}
|
|
|
}
|