hangzhoumesParent/moduleService/CacheVerticalGlassModule/src/main/java/com/mes/config/S7Config.java
@@ -15,13 +15,13 @@ public class S7Config { @Bean(name = "s7SerializerDLPOne") public S7Serializer s7SerializerDLPOne() { S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.20.140"); S7PLC s7PLC = new S7PLC(EPlcType.S1500, "192.168.20.140"); return S7Serializer.newInstance(s7PLC); } @Bean(name = "s7SerializerDLPTwo") public S7Serializer s7SerializerDLPTwo() { S7PLC s7PLC = new S7PLC(EPlcType.S1200, "192.168.20.140"); S7PLC s7PLC = new S7PLC(EPlcType.S1500, "192.168.20.140"); return S7Serializer.newInstance(s7PLC); }