摘要
针对目前设备检测系统中数据量大,且经常要求以各种报表格式化输出数据信息的问题,分析了VS.NET开发环境下的报表自动生成机制,并提出了适用于两种不同情况的报表生成方法,实现了数据报表的自动生成。在VS.NET开发环境中,利用组件对象模型(COM)来控制外部的Excel应用软件,充分利用计算机强大的数据处理能力,能够实现电力设备检测领域专业报表的生成、编辑、显示和打印等功能。分别以安全阀在线自动调校仪和SF6密度继电器自动校准仪为例,成功将该方法应用于电力设备检测系统中。实际应用表明,该方法具有较强的工程实用性和通用性。
In order to solve the problem of large volume of data which generally are required to be reported in formatted form in equipment measurement and testing systems, the mechanism of automatic report generation in Visual Studio.NET has been analyzed, and two different report generation methods have also been presented, through which data reports can be generated automatically. In the development platform of Visual Studio.NET the methods utilize COM to control the external Excel program. With the powerful data processing ability of computer, many functions of professional report such as report creating, editing, display, printing and so on can be realized in power equipment testing field with those methods. Automatic report generation methods have been sucesafully applied in some power equipment testing systems such as automatic tester for online safety valves and the SF6 density relay calibration instruments. The results of practical applications prove that the methods possess strong engincering practicability and universality.
出处
《中国测试》
CAS
2010年第1期67-71,共5页
China Measurement & Test
基金
国家863高新技术研究发展计划(2007AA04Z215)
航空科技基金项目(2008ZD51060)