wuyouming666
2023-11-21 be244a9e202ef069ccb57040ffbec59c89d40cfd
springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java
@@ -7,14 +7,18 @@
import org.springframework.stereotype.Component;
import com.example.springboot.component.PlcHold;
import com.example.springboot.component.Plcaction;
import com.example.springboot.component.PlcParameter;
import com.example.springboot.component.Plcaction;
import com.example.springboot.component.Plchome;
import com.example.springboot.component.Plcalarm;
import com.example.springboot.component.Plcsign;
import com.example.springboot.component.Plcstate;
import com.example.springboot.component.PlcPositioning1;
@Component
@Order(1)
public class AppRunnerConfig implements ApplicationRunner {
  @Override
  public void run(ApplicationArguments args) throws Exception {
@@ -22,15 +26,19 @@
    //
    System.out.println("启动完成");
    new PlcHold().start();
    new Plcaction().start();
    new PlcParameter().start();
    // new PlcHold().start();
    }
//    new Plcaction().start();
//
//    new Plchome().start();
//
//  new PlcParameter().start();
//
//    new Plcalarm().start();
//
//    new Plcsign().start();
//
//    new Plcstate().start();
 new PlcPositioning1().start();
  }
}