摘要
分析了CDM-570L远控功能的需求背景,重点探讨了基于RS-485或RS-232接口远控软件的设计与实现。在介绍远控协议功能及特点的基础上,分析了传统面向过程设计的软件架构的不足,采用面向对象的思想进行了全新的设计,给出了总体架构和软件的类图。在新架构下,远控软件能方便移植到不同操作系统应用环境,增加新功能基本无需修改原有代码,可复用性、可扩展性和可维护性好,软件健壮性强。
The requirement of CDM-570L remote control is discussed, with focus on the design and imple- mentation of remote control software based on RS-485 or RS-232. In accordance with the function and characteristic of communication protocol, the disadvantage of procedure-oriented software architecture is described. With the object-oriented method, the newly-designed software architecture and the class dia- gram are provided. Based on the new architecture, the remote-control software can be easily transplanted to other application environments of operation system. The source code is of good reusability, scalability, maintainability and robustness.
出处
《通信技术》
2013年第11期125-128,共4页
Communications Technology