摘要
为满足大型电站凝汽器安全运行的要求,运用面向对象编程的方法,开发了凝汽器附加流体消能设计软件。介绍了面向对象程序设计(简称OOP)的基本概念及特征,基于面向对象编程的理念,设定了5种功能模块,并借助各模块的灵活组合以及自主添加新模块的方法,可实现软件的多种功能。通过继承基类,给出类的继承关系、封装描述及实现方法,构造出附加流体接口类、疏水扩容器类以及减温减压器类。实际应用表明,对于该类工程应用软件,基于面向对象设想的编程在灵活性、可扩展性及可维护性等方面具有明显的优势。
The software for energy removing of the additional fluid has been developed in a way of programming facing the object so as to meet with the requirement of safe operation of the condenser in large power plant.The basic concept and the features of the object program design(OOP in short) have been described in the paper.5 functional modules have been set up based on OOP concept,which may realize multiple functions for the software with the help of flexible combination of different modules and additional new module.The practical results show that this kind of applied engineering software is programmed based on OOP and has obvious advantages in the aspects of flexibility,expansibility and maintainability.
出处
《电站辅机》
2011年第2期6-10,共5页
Power Station Auxiliary Equipment
关键词
凝汽器
附加流体
消能
面向对象编程
设计
软件
condenser
high-energy fluid
energy removing
object-oriented programming
design
software