外文翻译---在服务端客户端模式下远程实时动态监测系统activex技术的应用(编辑修改稿)内容摘要:

base on the server through ADO,and then convert the data to display with trend curve and bar graphs[78]. It can display four data at the same time. As it involves plex graphs, we use ActiveForm to develop it. ActiveForm of the TrendControl includes the following main Delphi controls: ADOTable is used to access table on the database server by ADO mode. DBEdit shows data accessed by the TADOTable. DataSource shows data source interface between TADOTable and TDBEdit. Image is used to draw trend curve. Guage is used to display bar graphs. Timer is used to produce dynamic effects. . TrendControl control In the application of the system, we also use ActiveForm technology of Delphi to develop data query controls, statistical controls, report controls, etc. they make the client better interactivity and achieve the data release. In these controls, we all use ADOConnection, ADOQuery, ADOTable and other controls of Delphi, they connect database through ADO mode. Next, we briefly outline the method of their implementation: (1) Data Query Control: This control provides users with a data query can query data by time, sector classification. In the development of such control, we use some database display controls of Delphi, such as DBGrid, BNavigator, DBEdit, etc. These controls can provide a good user interaction, so that the data query bee more convenient. Data query use SQL statements to achieve, it can be easily inserted in the ADOQuery. (2) Statistical Control: The control has statistics, summary and rendering graphics functions according to different data categories. In addition to have data query control functions, it also need to achieve a certain of statistical puting and graphics rendering capabilities. Statistics and summary are achieved by SQL statement. Graphics rendering can be used by Delphi39。 s DBChart or some graphics display ActiveX control. (3) Report Control: It is used to implement generation, printing of various types of report in the client. The Formula One Control is used to generate and print Excel report independently. As various reports have different formats, when we use Formula One to develop the report controls, there are two options: First, use program to generate the corresponding report, This method is more plicated. The other is that the base table is defined by artificial, data put in it by program. This method is simple. However, before the client program running, the client need to download the base table to local or read the base table from remote server firstly. The following simple example use the ActiveX control TrendControl. Ocx of the system. OBJECT ID=” Syspic” CLASSID=” CLSID:795BA4252FA3 11D3 8BEA 00105A5ED4 ” CODEBASE=” WIDTH=” 798” HEIGHT=” 658” ALIGN=” center” /OBJECT Here, the ClassID and file path or URL of OCX must be provided. Before the client browse this page, it will search ClassID in the local registry firstly. If there is no updated version, the control is not necessary to be downloaded. Otherwise, the control will be searched according to the path specified by CODEBASE and be downloaded to the client, so the client can access dynamic realtime information and historical information via IE. Also the ID of tag OBJTCT is the name of the OCX object, it is used to access and set properties, and call the object methods, etc. 4 Questions in Development of ActiveX Control。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。