首页> 中文期刊> 《组合机床与自动化加工技术》 >基于MVVM模式的滚珠丝杠副工艺卡输出设计

基于MVVM模式的滚珠丝杠副工艺卡输出设计

         

摘要

滚珠丝杠副工艺卡是CAPP系统最重要的输出成果.为优化CAPP系统源程序模块,完善工艺卡输出效果,针对CAPP系统作模块化设计.运用MVVM(Model-View-ViewModel)设计模式,将CAPP系统分为模型(Model)、视图(View)及视图模型(ViewModel)三个层次.采用模块化程序设计方式,按功能将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 output 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 generated 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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号