摘要
在分析上位数控软件功能特点的基础上,考虑开放式数控系统中关键部件更换时软件适应性,提出一种分层的开放式上位数控系统软件架构,并简述了各层及模块之间的交互关系;将依赖注入机制应用于开放式上位数控软件各组件间的解耦问题中,以后置处理模块内部、以及后置处理模块与代码仿真及干涉检测模块间的解耦问题为例,分别说明了构造子注入、设值注入的使用方法。
On the basis of analyzing the functions of the upper computer software, and the software adaptability when the key parts in the open CNC system replaced is considered, a layered software architecture of upper computer software is proposed, and the relationships among layers and modules are explained. The dependency injection mechanism is applied to the decoupling problem among the components of up- per computer software. Taking the decoupling problem in post - processing module and the decoupling problem between post - processing module and code simulation and interference detection module for ex- ample, the application of the constructor injection and the setter injection are described respectively.
出处
《制造技术与机床》
北大核心
2016年第2期82-85,90,共5页
Manufacturing Technology & Machine Tool
基金
2012年科技部专项阀芯精密激光切割机成套工艺与装备研发(JK12-0301)
2013年河北省科技支撑计划项目开放式精密激光切割数控系统软件架构研究(13211828)
关键词
开放式数控系统
软件架构
依赖注入
解耦
open CNC system
software architecture
dependency injection
decoupling