wu
2023-11-03 f59d1cd5a51e6e1dea40b7253e16cac9f949fc30
springboot-vue3/src/main/java/com/example/springboot/config/AppRunnerConfig.java
@@ -7,30 +7,36 @@
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;
@Component
@Order(1)
public class AppRunnerConfig implements ApplicationRunner {
  @Override
  @Override
  public void run(ApplicationArguments args) throws Exception {
    // TODO Auto-generated method stub
    //
    System.out.println("启动完成");
    new PlcHold().start();
    new Plcaction().start();
    new PlcParameter().start();
    // new Plcaction().start();
    // new Plchome().start();
    // new PlcParameter().start();
    // new Plcalarm().start();
    }
    // new Plcsign().start();
    // new Plcstate().start();
  }
}