Current Issue Cover
工控组态软件的可视化

张杰1, 关永2, 孙继平2(1.北京化工大学信息工程学院,北京 100029;2.中国矿业大学北京研究生部,北京 100083)

摘 要
目前工控组态软件已成为计算机监控系统的主流,而其可视化设计更是体现软件优洛的关键。为进一步提高组态软件的可视化程序,提出了“游标在线显示”方案,所谓游标就是一个能在曲线图形上滑动的标尺,而设计游标的目的就是要利用来实现数据的动态在线显示,从而取代单调的数据表格显示功能。这种在线显示方式既直观、方便,又便于操作人员进行数据查询和趋势分析,因此游标是一种既合理、适用,又具有创新性的设计。在设计过程中,采用了一种称之为“控件叠加技术”的解决方案,即在一个图形控件上,用透明处理的方法叠加另一个特殊的控件,让这个特殊的控件来充当游标的标尺,并使它的长度根据图形控件的高度自动调整(其宽度有1个工2个象素点),以此来彻底解决不定长游标的显示问题。实际使用结果表明,效果很好。另外,还对尺寸柄的设计技术以及动态数据交换的原理进行了讨论,并给出具体的实现方法。
关键词
Visualization of Industry-Controlled Configuration Software

()

Abstract
Industry controlled configuration software has become the mainstream of computer supervisory control system at present and its visualization embodies the quality of software. For further enhancing the visualization of the configuration software, the paper puts forward "online display of the vernier" scheme. The vernier, a rod capable of sliding freely on the curve graph, is designed in a bid to realize data's dynamic online display, thus replacing the monotonous data tables, Lets this special control element to act as the verniers rod that moves about, and make its the length automatically adjustment on the basis of the graph control element of length (width of this special control element has only one or two pixels). This kind of online display method is direct, convenient and easy to be operated with regard to data inquiry and trend analysis. Therefore, the vernier is a reasonable, applicable and original design. "The button overlapping technology" adopted in the course of designing has produced favorable results. The method aims to solve the problem of verniers' display of various length by overlapping a special control element with a graphic one transparently. Besides, the design of size handle and the principle of dynamic data exchanges are also discussed in the paper with suggested methods on their realization.
Keywords

订阅号|日报