From 01b07fdef6c2117c3672b0d90b8b2f2218bdd659 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期五, 31 十月 2025 09:44:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/config/S7Config.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/config/S7Config.java b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/config/S7Config.java
index 637effc..7efc0fe 100644
--- a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/config/S7Config.java
+++ b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/config/S7Config.java
@@ -15,15 +15,15 @@
public class S7Config {
@Bean(name = "s7SerializerSPOne")
public S7Serializer s7SerializerSPOne() {
-// S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.10.15");
- S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
+ S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.10.15");
+// S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
return S7Serializer.newInstance(s7PLC);
}
@Bean(name = "s7SerializerSPTwo")
public S7Serializer s7SerializerSPTwo() {
-// S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.10.21");
- S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
+ S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.10.21");
+// S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
return S7Serializer.newInstance(s7PLC);
}
--
Gitblit v1.8.0