摘要
采用ActiveX技术开发的通用曲线监控控件,通过曲线信息加入、数据接收、停止绘制后控件自处理等步骤实现多个接口函数,再以设置曲线采样周期定义控件属性。该控件首先通过Windows程序实现实际坐标与屏幕坐标的转换,再定义坐标,最后采用CDC类的成员函数绘制其曲线。
The ActiveX technology was adopted to develop the common curve control. The multi-interface functions could be realized through adding curve information, receiving data and automatic management after stopping drawing. The curve sample period was set to define the control attributes. At first, the real coordinates was transformed to screen coordinates by curve control; then, the coordinates were defined; at last all curves were drawn by using member functions of CDC.
出处
《兵工自动化》
2006年第2期91-92,共2页
Ordnance Industry Automation