基于MVVM模式的滚珠丝杠副工艺卡输出设计  被引量:7

Output Design of Ball Screw Pair Craft Card Based on MVVM Pattern

在线阅读下载全文

作  者:宋杰[1] 王科社[1] 陈婉[1] 董青霞[1] 

机构地区:[1]北京信息科技大学机电工程学院,北京100192

出  处:《组合机床与自动化加工技术》2017年第3期148-150,157,共4页Modular Machine Tool & Automatic Manufacturing Technique

基  金:北京市科技计划项目(Z121100001612010)

摘  要:滚珠丝杠副工艺卡是CAPP系统最重要的输出成果。为优化CAPP系统源程序模块,完善工艺卡输出效果,针对CAPP系统作模块化设计。运用MVVM(Model-View-View Model)设计模式,将CAPP系统分为模型(Model)、视图(View)及视图模型(View Model)三个层次。采用模块化程序设计方式,按功能将CAPP系统划分为不同子模块,规定每个模块的输入输出方式,降低了模块的复杂度以及模块之间的耦合性。在该模式的应用下,对工艺卡输出模块着重进行优化,用Visual Studio下的第三方动态链接NPOI库,将生成的CAPP工艺卡导入Excel文档,克服原来通用性不强的缺点,提高了打印的灵活性。Ball screw craft card is the most important output of CAPP system. In order to optimize the CAPP system source module, improve the craft card output, CAPP system was designed by modular design. By using Model-View-ViewModel (MVVM) design pattern, CAPP system was divided into three levels which were made from Model, View and ViewModel. By using modular programming mode, CAPP system was divided into different sub modules according to the function of the corresponding module. Input and out-put of each module was specified to reduce the complexity of module and the coupling between modules. In the application of this pattern, the craft card output module was optimized. The CAPP craft card was genera-ted into Excel document by using the third party dynamic link NPOI library of Visual Studio to overcome the shortcomings of original deficiencies in standardization and improve print flexibility.

关 键 词:工艺卡 模块化设计 MVVM NPOI库 

分 类 号:TH164[机械工程—机械制造及自动化] TG506[金属学及工艺—金属切削加工及机床]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象