| | |
| | | import com.config.AppParam; |
| | | import com.sql.MysqlConnPool; |
| | | import com.sql.Sql_Mysql; |
| | | import com.watersystem.monitor.WaterSystem_RealDataRecord_Thread; |
| | | import com.watersystem.monitor.Water_Task_SQL; |
| | | import com.watersystem.monitor.Water_inf; |
| | | import com.watersystem.monitor.Watersystem_ServerSocket_Thread; |
| | |
| | | /**************************************************************************/ |
| | | /**************************************************************************/ |
| | | public final static boolean app_debug = false; |
| | | public final static double m_VersionNum = 1.202; |
| | | public final static double m_VersionNum = 1.302; |
| | | public final static String m_Version = "Welcome To Use main_MonitorServer_Motor V" |
| | | + m_VersionNum ; |
| | | /**************************************************************************/ |
| | |
| | | //读取每套水冷系统的信息 |
| | | Watersystem_ServerSocket_Thread server = new Watersystem_ServerSocket_Thread(GB_MysqlConnPool,winfs); |
| | | new Thread(server).start(); |
| | | |
| | | |
| | | /****************************** 记录历史实时数据 ************************************/ |
| | | { |
| | | WaterSystem_RealDataRecord_Thread record_thread = new WaterSystem_RealDataRecord_Thread(GB_MysqlConnPool, winfs); |
| | | new Thread(record_thread).start(); |
| | | } |
| | | |
| | | |
| | | while(true) { |
| | | try { |
| | | Thread.sleep(5000); |