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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
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();
 
    }
 
 
}