摘要
文章提出了一种基于XML文档描述的仪器菜单系统实现方案。通过将仪器的菜单内容封装为XML文档格式,并在运行时动态加载解析的方法,设计出了支持多国语言、高度可扩展、通用的仪器菜单系统。采用这种方法设计的菜单系统现已用于多个信号分析仪中,表现出良好的性能和高度的扩展度。
This paper presents an applicable solution for Instrument menu system based on XML document. A highly reusable and scalable instrument menu system has been designed by packing the menu package set into XML file format and dynamic load in runtime. Designed by the above methods, the parser is able to achieve a very high efficiency, multilingual and excellent versatility, which has been used in many of the instruments.
出处
《仪器仪表用户》
2009年第3期34-35,共2页
Instrumentation