摘要
虚拟试验平台软件是为多种虚拟试验提供数据交换、运行控制等基础功能的平台软件;为适应不同类型虚拟试验参数修改及显示试验过程和结果的需要,该平台软件的用户界面必须具有足够的灵活性;为解决这一问题,自动代码生成技术和界面自定义排版技术被用于虚拟试验用户界面的生成与显示;所使用的自动代码生成技术以XML格式定义文件为输入,利用自行开发的代码生成器可自动生成参数修改用户界面代码;界面自定义排版技术则通过对虚拟试验各组成部分用户界面的封装,实现根据用户要求自动生成集成后的虚拟试验平台界面;研究结果表明,上述技术的使用提高了虚拟试验平台软件对各种类型虚拟试验的适应性,在一定程度上统一了虚拟试验参数修改用户界面风格;保证了虚拟试验平台软件的通用性和开放性。
Virtual test platform software (VTPS) is framework software used to provide fundamental functions such as data exchange, process control, etc. To meet the different requirements of input and output of various type of virtual tests the user interface (UI) of that platform software must be flexible. To get this flexibility technology of source codes auto-generation (SCAG) and UI auto make-up (UIAM) is applied to the generation and displaying of UI. SCAG used a XML format specification file as input. An auto- generator of UI source codes is used to ereate parameter editing UI. By encapsulation UI of component UI and UIAM technology the virtual test platform can display integrated UI as the order of user. This investigation suggests that SCAG and UIAM is helpful to improve the applicability of VTPS for various type of virtual test. SCAG makes the style of UI for editing parameters unified in some extend. SCAG and UIAM can improve versatility and flexibility of VTPS.
出处
《计算机测量与控制》
CSCD
北大核心
2010年第4期950-951,955,共3页
Computer Measurement &Control
关键词
虚拟试验
用户界面
自动代码生成
自定义排版
virtual test
user interface
source codes auto-generation
auto make-up