package com.mes.config;
|
|
import com.mes.common.Plcdownglass;
|
import com.mes.common.Plchome;
|
import com.mes.device.PLCAutoMes;
|
import org.springframework.boot.ApplicationArguments;
|
import org.springframework.boot.ApplicationRunner;
|
import org.springframework.core.annotation.Order;
|
import org.springframework.stereotype.Component;
|
|
@Component
|
@Order(1)
|
|
public class AppRunnerConfig implements ApplicationRunner {
|
|
@Override
|
public void run(ApplicationArguments args) throws Exception {
|
// TODO Auto-generated method stub
|
//
|
System.out.println("启动完成");
|
|
//new Plcdownglass().start();
|
|
// new PLCAutoMes().start();
|
//
|
// new Plchome().start();
|
|
}
|
}
|