摘要
针对基于COM的OPC服务器信息的复杂性和不透明性,调用OPC基金会发布的程序集,快速实现了.Net平台的客户端程序。通过对平台互操作原理、COM组件对象与.Net类对象差异的比较,解析了程序集中对服务器接口数据进行重新封送、重组的必要性,并结合OPC规范,程序集结构逐步实现了对数据服务器的访问。试验结果表明,基于程序集的客户端开发对系统集成及信息共享起到了极大的作用。
Aiming at the complexity and the opacity of information from OPC server based on COM, the client program of. Net platform is implemented quickly by calling the assembly issued by OPC foundation. Based on interoperable principle of platform and the comparison of the difference between the COM component object and the . Net object, the necessity to re-marshal and restructure the server interface data in assembly is analyzed, and OPC specification and assembly structure are combined for implementing access to the data server gradually. The experiments result show that the development of client based on assembly plays a vital role in system integration and information sharing.
出处
《自动化仪表》
CAS
北大核心
2012年第9期45-48,共4页
Process Automation Instrumentation