| | |
| | | public static boolean xytognssOpen=false; |
| | | public static boolean gnsstoxyOpen=false; |
| | | public static String language="0"; |
| | | public static int hexport=8234; |
| | | public static int ascallport=7000; |
| | | // 获取系统配置列表 |
| | | public static List<SystemConfiguration> getSystemConfigurations() { |
| | | // 创建配置对象列表 |
| | |
| | | // 数据库密码 |
| | | config.setDatabasePassword(rs.getString("database_password")); |
| | | // HEX数据UDP接收端口 |
| | | config.setHexDataUdpReceivePort(rs.getString("hex_data_udp_receive_port")); |
| | | String hexp=rs.getString("hex_data_udp_receive_port"); |
| | | hexport=Integer.parseInt(hexp); |
| | | config.setHexDataUdpReceivePort(hexp); |
| | | String ascll=rs.getString("ascii_data_udp_receive_port"); |
| | | ascallport=Integer.parseInt(ascll);; |
| | | // ASCII数据UDP接收端口 |
| | | config.setAsciiDataUdpReceivePort(rs.getString("ascii_data_udp_receive_port")); |
| | | config.setAsciiDataUdpReceivePort(ascll); |
| | | |
| | | // TCP数据接收端口1 |
| | | config.setTcpDataReceivePort1(rs.getString("tcp_data_receive_port1")); |
| | | // TCP数据接收端口2 |