wangxichen 1 Minggu lalu
induk
melakukan
f334f80990
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      src/com/mes/ui/MesClient.java
  2. 1 1
      src/resources/config/config.properties

+ 2 - 2
src/com/mes/ui/MesClient.java

@@ -123,8 +123,8 @@ public class MesClient extends JFrame {
 
     public static Integer lastpage = 0;     //标记是否是首次进入设备运行状态,0表示首次进入运行状态,1表示非首次进入运行状态
 
-//    public static S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.7.103"); // CD 北边
-    public static S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.0.41"); // AB 中间
+    public static S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.7.103"); // CD 北边
+//    public static S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.0.41"); // AB 中间
 
     public static List<String> hjparams = new ArrayList<>();
 

+ 1 - 1
src/resources/config/config.properties

@@ -1,6 +1,6 @@
 mes.gw=OP060
 #mes.server_ip=127.0.0.1
-mes.server_ip=192.168.110.99
+mes.server_ip=192.168.113.99
 mes.tcp_port=3000
 mes.heart_beat_cycle=60
 mes.line_sn=XT