From 73fe3c5574c8fbb7b18fa9b76d53b918f6f921e1 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期三, 12 十一月 2025 11:09:04 +0800
Subject: [PATCH] 更换前端打包方式,将ip地址配置提取到public
---
hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/config/S7Config.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/config/S7Config.java b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/config/S7Config.java
index e05f63c..91999e3 100644
--- a/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/config/S7Config.java
+++ b/hangzhoumesParent/moduleService/GlassStorageModule/src/main/java/com/mes/config/S7Config.java
@@ -16,22 +16,22 @@
@Bean(name = "s7SerializerCC")
public S7Serializer s7SerializerCC() {
-// S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.10.80");
- S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
+ S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.10.80");
+// S7PLC s7PLC = new S7PLC(EPlcType.S1500, "10.153.19.191");
return S7Serializer.newInstance(s7PLC);
}
@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