y_ys79
2024-01-05 e5840972b6b17ec03bfc1069a9cacfe0cef189c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();
    }
}