摘要
介绍了Agent的现状,设计了一个基于Agent的计算机串口与温度感应器的通信系统模型。分析了如何利用VC++下的COMM控件实现数据的传输与读取,以及如何实现感应器的控制。运用面向对象的方法和多线程技术,设计出一个扩展性好、实时通信能力强的类模块Agent。
A communication system module between port and temperature-sensor based on Agent was designed,by introducing status quo of Agent.The use of the control of COMM to implementing transmission and read of data, and the control sensors were analyzed.At last a module of Agent with good-expansibility and big-power of communication by OOP and multithread technology was designed.
出处
《安徽农业科学》
CAS
北大核心
2005年第6期1071-1072,共2页
Journal of Anhui Agricultural Sciences
关键词
AGENT
多线程
模块
串行通信
Agent
Multithread
Module
Serial port communication