摘要
在Win32环境下,利用面向对象的技术分析串行通讯,从中抽象出对象的属性、方法和事件.介绍了如何将WindowsAPI中相关的通讯函数进行封装,定制VCL组件以实现串行通讯,从而提高通讯编程的效率和代码的重用性.
Win32 platform serial communication was analyzed by means of the ObjectOrientation. Then, the property, method and event of the object can be deduced. It was introduced how to encapsulate communication function related to Windows API and how to customize the VCL component in order to realize the serial communication. It increases efficiency of the communication programming and benefits the code reusable.
出处
《西安工程科技学院学报》
CAS
2003年第2期185-188,共4页
Journal of Xi an University of Engineering Science and Technology