package com.qianwen.mdc.config;
|
|
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Configuration;
|
|
import com.qianwen.mdc.service.ncparser.impl.FanucNcParserImpl;
|
import com.qianwen.mdc.service.ncparser.impl.SiemensNcParserImpl;
|
|
/**
|
* @author: y_ys79
|
*/
|
@Configuration
|
public class MdcConfig {
|
@Bean(name = "OpcUaMdcServiceImpl")
|
public SiemensNcParserImpl getOpcUaMdcServiceImpl() {
|
return new SiemensNcParserImpl();
|
}
|
|
@Bean(name = "FocasMdcServiceImpl")
|
public FanucNcParserImpl getFocasMdcServiceImpl() {
|
return new FanucNcParserImpl();
|
}
|
}
|