摘要
论述了应用于岩土工程领域一项重要试验-三轴剪切试验的数据采集处理系统的软硬件组成。给出了数据采集模块的串口通信协议。基于MFC类库中的视图类重点阐述了如何运用面向对象编程思想,特别是类的继承与虚函数重载的机制来方便地实现数据处理模块中9种试验曲线的绘制。
In this paper, the software and hardware integrant of data sampling and processing system applied in Geotechnical engineering field is discussed. The serial communication protocols in data sampling module are presented. Based on view class of MFC class library, how to exert the thought of OOP, especially mechanisms of inheritance of classes and overloading of virtual functions to simply realize the drawing of nine kind of test curve is mainly explained.
出处
《微计算机应用》
2005年第3期382-384,共3页
Microcomputer Applications