J4

• 计算机科学 • Previous Articles     Next Articles

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

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

CLC Number: 

  • TP273.5