J4

• 计算机科学 • 上一篇    下一篇

State模式在化学仪器控制程序中的应用

杨贵福12, 杨凡1, 牛利1, 冯云祥1, 许晓宇3   

  1. 1. 中国科学院 长春应用化学研究所, 中国科学院 研究生院, 长春 130022; 2. 东北师范大学 计算机学院, 长春 130024; 3. 吉林省公安厅 物证鉴定中心, 长春 130051
  • 收稿日期:2005-11-17 修回日期:1900-01-01 出版日期:2006-09-26 发布日期:2006-09-26
  • 通讯作者: 牛利

Application of State Pattern in Chemistry Instrumentalization

YANG Guifu1,2, YANG Fan1, NIU Li1, FENG Yunxiang1, XU Xiaoyu3   

  1. 1. Changchun Institute of Applied Chemistry, Graduate School of the Chinese Academy of Sciences,Changchun 130022, China; 2. School of Computer Science, Northeast Normal University, Changchun 130024, China; 3. Department of Police and Security of Jilin Province, Changchun 130051, China
  • Received:2005-11-17 Revised:1900-01-01 Online:2006-09-26 Published:2006-09-26
  • Contact: NIU Li

摘要: 提出使用设计模式中的State模式解决化学仪器控制程序中的状态管理等问题, 以基于电化学方法的安菲他命浓度快速检测项目的系统设计为例, 阐述了该方法的实现方案, 并对其使用效果进行了讨论.

关键词: 化学仪器控制, State模式, 设计模式, 状态

Abstract: The management of user interface and data operation plays a key role in the development of scientific instruments, especially in the control program of an instrument. The complexity responses the same event at different states and atomic state transition should be considered seriously. In this paper, a method is proposed to resolve the management of the state in the control program of the chemistry instrument with State Pattern, which has been successfully extended into our electrochemical instrument, Amphetameter.

Key words: chemistry instrument control, State pattern, design pattern, state

中图分类号: 

  • TP273.5