通信技术
通信技術
통신기술
COMMUNICATIONS TECHNOLOGY
2013年
11期
125-128
,共4页
方华%王怀周%杨思祥%续欣%贾跃伟
方華%王懷週%楊思祥%續訢%賈躍偉
방화%왕부주%양사상%속흔%가약위
CDM-570L%远控%面向对象
CDM-570L%遠控%麵嚮對象
CDM-570L%원공%면향대상
CDM-570 L%remote control%object-oriented
分析了CDM-570 L远控功能的需求背景,重点探讨了基于RS-485或RS-232接口远控软件的设计与实现。在介绍远控协议功能及特点的基础上,分析了传统面向过程设计的软件架构的不足,采用面向对象的思想进行了全新的设计,给出了总体架构和软件的类图。在新架构下,远控软件能方便移植到不同操作系统应用环境,增加新功能基本无需修改原有代码,可复用性、可扩展性和可维护性好,软件健壮性强。
分析瞭CDM-570 L遠控功能的需求揹景,重點探討瞭基于RS-485或RS-232接口遠控軟件的設計與實現。在介紹遠控協議功能及特點的基礎上,分析瞭傳統麵嚮過程設計的軟件架構的不足,採用麵嚮對象的思想進行瞭全新的設計,給齣瞭總體架構和軟件的類圖。在新架構下,遠控軟件能方便移植到不同操作繫統應用環境,增加新功能基本無需脩改原有代碼,可複用性、可擴展性和可維護性好,軟件健壯性彊。
분석료CDM-570 L원공공능적수구배경,중점탐토료기우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.