摘要
针对SECS-Ⅱ(SEMI Equipment Communications Standard 2 Message Content)特殊的消息格式,提出一种面向对象的实现方法。系统中定义了同标准中规定的数据类型相对应的类以及相关操作,并使用了Composite和Visitor设计模式。系统可以按照用户需求创建SECS-Ⅱ消息,完成消息编码、解码等功能。该系统的优点是能够动态创建消息且可扩展性强。
A new method using OOP (Object-Oriented Programming) and design patterns to implement SECS-Ⅱ messages is de-scribed. The programming system defines a set of objects corresponding to standard SECS-Ⅱ item types as well as relative operations and makes use of composite and visitor design patterns. SECS-Ⅱ messages can be created at run time according to item types need-ed. Furthermore,messages can also be automatically encoded,decoded and transmitted between communication nodes. The system is expansible and ver...
出处
《微计算机信息》
北大核心
2008年第12期197-198,204,共3页
Control & Automation
基金
国家863高技术研究发展计划基金资助项目(2006AA03A141)