摘要
在介绍了液位系统的组成、功能和实现方法的基础上,运用组件级的编程方法,将系统分解为独立的组件,利用组件对象模型(Component Ob jectM ode l,COM)技术封装各个子系统。着重介绍了在VC++.NET下ATL(Active Temp lateL ibrary)对于COM接口和COM支持类以及ActiveX组件开发的支持。介绍了运用IDL(Interface D efin ition Language)进行接口定义的方法,和运用M atlab引擎技术的方法。由于COM具有跨进程、跨平台、跨操作系统和远程调用的特点,使得在MATLAB,VC++.NET环境下开发的各个系统,能够有效地结合起来,对于系统的仿真具有重要意义。
This article introduced the composition of liquid level control system, its function and realization method, uses the component - level programming method to decompose the system into independent modules, and uses the COM (Component Object Model,) technology to package all subsystems. Because COM can effectively combine many subsystems, it is very useful for system simulation.
出处
《计算机仿真》
CSCD
2006年第12期114-117,263,共5页
Computer Simulation
关键词
组件技术
组件级编程
液位系统
仿真
Component technology
Component - level programming
Liquid level control system
Simulation