From 2de8567d25edbe0c020f75182b44016bfcc85d0b Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期三, 03 七月 2024 14:03:23 +0800 Subject: [PATCH] 修改参数采集 --- jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java index 8843f0d..26ddd2d 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java +++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/CustomRunner.java @@ -10,16 +10,12 @@ import com.jcdm.main.da.passingStationCollection.service.IDaPassingStationCollectionService; import com.jcdm.main.om.productionOrde.service.IOmProductionOrdeInfoService; import com.jcdm.main.plcserver.sub.OPCUaSubscription; - import com.kangaroohy.milo.service.MiloService; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.stereotype.Component; -import javax.annotation.Resource; -import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; @@ -43,7 +39,7 @@ private IOmProductionOrdeInfoService omProductionOrdeInfoService; - @Resource + @Autowired private IDaOpcuaConfigService daOpcuaConfigService; -- Gitblit v1.9.3