工厂设计模式在多串口通信中的应用  被引量:1

The Apply of Multiport Serial Communication Under Factory Design Pattern

在线阅读下载全文

作  者:喻刚 

机构地区:[1]宁波臻誉传感科技有限公司

出  处:《衡器》2017年第8期11-14,共4页Weighing Instrument

摘  要:设计模式/软件设计模式(Design pattern)是软件设计过程中的经验总结。可以让程序代码易重用、易理解、更稳定。目前总结出来的模式有23种之多,文中主要涉及"工厂模式"在多串口通信软件开发中的应用。作者针对衡器称重系统中常用的仪表、一机一秤、一机多秤等应用场景,提出相应的解决方案。Design pattern/software design pattern is experience generalization about the software designing, which makes code more reusable, more understandable and steadier. At present, we gain 23 kinds of patterns, and in this paper we focus on apply of factory pattern in multiport serial communication software developing. The author offered related solutions about application such as normal meters in weighting apparatus system, one scale one machine pattern and multiple scales on one machine.

关 键 词:设计模式 C++ 串口通信 称重管理软件 工厂模式 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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