| | |
| | | //RTU截止地址 |
| | | public static Long rtuAddrEnd = 0L ; |
| | | //服务端IP |
| | | public static String serverIp = "" ; |
| | | public static String tcpServerIp = "" ; |
| | | //服务端上下文 |
| | | public static Integer serverPort = 0 ; |
| | | public static Integer tcpServerPort = 0 ; |
| | | //发送数据数据间隔 |
| | | public static Integer sendInterval = 0 ;//秒 |
| | | //每一轮次发送数据,其中包括心跳数据的次数 |
| | | public static Integer heartbeatTimes = 3 ; |
| | | //发送数据次数 |
| | | public static Integer sendTimes = 0 ; |
| | | |
| | | //mwTestServer控制是否启动 |
| | | public static boolean startWork = false ; |
| | | //发送完数据后,是否关闭TCP连接,1是,0否 |
| | | public static Integer sendOverThenCloseConnect = 0 ; |
| | | |
| | | |
| | | public static boolean startTcpConnectWork = false ; |
| | | |
| | | //mwTestServer |
| | | public static boolean startRtuReportWork = false ; |
| | | } |