计算机与现代化 ›› 2014, Vol. 0 ›› Issue (3): 197-201.doi: 10.3969/j.issn.1006-2475.2014.03.046

• 应用与开发 • 上一篇    下一篇

数据访问界面的自动生成方法

  

  1. 1.信息工程大学地理空间信息学院,河南郑州450000;2.解放军第309医院,北京100091;3.解放军96164部队,浙江金华321000;4.解放军61711部队,新疆喀什844000
  • 收稿日期:2013-09-24 出版日期:2014-03-24 发布日期:2014-03-31
  • 作者简介:盖森(1986-),男,河北鹿泉人,信息工程大学地理空间信息学院博士研究生,研究方向:数据库,地理信息系统; 孙朋(1985-),女,解放军第309医院工程师,硕士,研究方向:医院信息化; 周峰(1986-),男,解放军96164部队助理工程师,研究方向:测绘科学与技术; 盖世豪(1987-),男,解放军61711部队助理工程师,研究方向:通信工程。

Method of Automatic Generation of Data Access Interface

  1. 1. Institute of Surveying and Mapping, Information Engineering University, Zhengzhou 450000, China; 2. The 309th Hospital of PLA, Beijing 100091, China; 3. The 96164 Troops of PLA, Jinhua 321000, China; 4. The 61711 Troops of PLA, Kashi 844000, China
  • Received:2013-09-24 Online:2014-03-24 Published:2014-03-31

摘要: 在管理信息系统(MIS)的设计过程中,用户界面设计对于用户使用和系统安全性来说是十分重要的。针对手工构建数据访问界面效率低的问题,本文提出一种基于代码自动生成技术的解决方法。首先,利用现有代码生成器SocanCode实现对数据访问层的自动构建;其次,开发新的代码自动生成器,实现界面交互层的自动构建。最后,以某专题地理信息数据为例,在VS2010环境下利用DevExpress控件库中LayoutControl控件的自动布局特性,用C#对该方法进行实现,提高了数据访问界面的构建效率。

关键词: 信息系统, 界面设计, 代码自动生成, DevExpress

Abstract: In the MIS design process, the user interface design is very important for users and system security. Due to the low efficiency of manual building data access interface, this paper proposes a solution based on automatic code generation technique. Firstly, the paper uses the existed code generator SocanCode to build the basic module of data access automatically, secondly, develops a new code generator to build the interface module of data access automatically, at last, takes a kind of thematic geographic data for example, in the VS2010 IDE, using the automatic layout feature of LayoutControl, a kind of DevExpress control. This method is implemented through C#, which improves the efficiency of building data access interface.

Key words:  information system, interface design, automatic code generation, DevExpress

中图分类号: