From 0b30ecf9d6581b4e7a6f7b397ced716acaeaefc0 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 26 三月 2024 14:15:37 +0800
Subject: [PATCH] 更新冲突

---
 UnLoadGlassModule/src/main/java/com/mes/config/AppRunnerConfig.java |   55 +++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 41 insertions(+), 14 deletions(-)

diff --git a/UnLoadGlassModule/src/main/java/com/mes/config/AppRunnerConfig.java b/UnLoadGlassModule/src/main/java/com/mes/config/AppRunnerConfig.java
index f6ecf3f..c6b7f52 100644
--- a/UnLoadGlassModule/src/main/java/com/mes/config/AppRunnerConfig.java
+++ b/UnLoadGlassModule/src/main/java/com/mes/config/AppRunnerConfig.java
@@ -1,23 +1,50 @@
 package com.mes.config;
 
-import com.mes.service.Plcaction;
-import com.mes.service.DownGlassInfoService;
-import org.springframework.context.ApplicationListener;
-import org.springframework.context.event.ContextRefreshedEvent;
+import com.mes.service.PLCAutoMes;
+import org.springframework.boot.ApplicationArguments;
+import org.springframework.boot.ApplicationRunner;
+import org.springframework.core.annotation.Order;
 import org.springframework.stereotype.Component;
 
 @Component
-class AppStartup implements ApplicationListener<ContextRefreshedEvent> {
+@Order(1)
 
-    private final DownGlassInfoService downGlassInfoService;
-
-    public AppStartup(DownGlassInfoService downGlassInfoService) {
-        this.downGlassInfoService = downGlassInfoService;
-    }
+public class AppRunnerConfig implements ApplicationRunner {
 
     @Override
-    public void onApplicationEvent(ContextRefreshedEvent event) {
-        Plcaction.setDownGlassInfoService(downGlassInfoService);
-        new Plcaction().start();
+    public void run(ApplicationArguments args) throws Exception {
+        // TODO Auto-generated method stub
+        //
+        System.out.println("鍚姩瀹屾垚");
+
+
+
+
+        //  new PlcHold().start();
+       new PLCAutoMes().start();
+
+    // new Plchome().start();
+        //  new PlcLayout().start();
+        //  new Plcalarm().start();
+
+        //  new Plcsign().start();
+
+        //  new Plcstate().start();
+        //  new PlcPositioning1().start();
+
+        //  new PlcParameter2().start();
+        //  new PLCAutomaticParameterSetting().start();
+
+        //  new PlcManualonePosition().start();
+        //  new PlcManualonePosition2().start();
+        //  new PlcServoManualone().start();
+        //  new PLCManualJog().start();
+        //  new Plclog().start();
+
+        //  new PlcInteractionState().start();
+        //new PlcParameter1Review().start();
+        //new PLCAutomaticParameterSettingReview2().start();
+
+    // new PLCManualJogReview().start();
     }
-}
+}
\ No newline at end of file

--
Gitblit v1.8.0