With the continuous advancement of agricultural science and technology, research on soil moisture characteristics and dynamic changes in different agricultural planting systems has important implications for the management of rational soil moisture management, utilization of water resources, and informationization of agricultural scientific research and service systems. significance. In order to better manage the data obtained by the datalogger, on the basis of the original data with a sampling interval of 10 min, using Visual Foxpro 8.0 (Chinese Professional Edition) language, a MOD-based, modular idea was used to develop an OVVS-based method. Operating platform "Daily management system of soil moisture database" (hereinafter referred to as the system). The system uses V1Sna1Foxpro 8.0 to provide forms, pop-up menus, and buttons. It also supports mouse operations. In addition, the system also generates various 2D and 3D graphics for users by calling the Graph control in Visual Foxpro 8.0. The instrument's structure and function of the "day-to-day management system for soil moisture database" and methods for realizing the main technologies were introduced.
1 System structure and its main functions The data in the system comes from the four planting systems of peach trees, hay, wheat, and rice in the suburbs of Nanjing provided by Nanjing Agricultural Meteorological Experiment Station. The soil moisture data are from April 2003 to 2004. 6 At 20, 40, 60, 90, 120, 150cm depths of the month of the data collector's negative pressure data, the soil moisture database system mainly includes data query, data maintenance, drawing, printing, help, and exit six major functional modules. Its structure is shown in Figure 1.
Various materials are mainly provided to users in the form of forms or reports, and various main functions of the system are implemented in forms or reports. Use a form or report to query or modify the database in the standard Window, world. In addition to providing an input and output world, the form also provides a rich set of objects that can respond to user (or system) events so that users can easily and intuitively complete information management.
Fig.1 Structure of Daily Response System for Soil Moisture Database Fig.1.1 Basic Database The database of basic data includes the water volume of soil volume, the topsoil storage landscape, the effective water storage landscapes and the fittings under each planting system. For example, if the information on the effective water storage landscape at each moment is greater than, less than, or equal to a certain value, the required data may be output in a graphical manner and data.
1.2 PF database The PF data database mainly includes data on the number of free-energy logs and their corresponding soil water-cut scenes in each planting system, and at successive levels under each level. Its role is mainly to draw PF curves. Similarly, the database also has a query function, and the user can perform various selections and edits before the user can perform various conditions of the graphical output.
1.3 Drawing function module This function module is mainly to realize the graphic output function in the above two data databases. It includes PF curve, soil moisture content, a value, b value and other graphics. Several sub-function modules each function will be graphics The output is presented to the user in the form of a form. The user can edit the output form, and can draw a variety of graphs including PF curves, and watery landscapes, a values, and b values ​​according to their own needs. Graphics are based on the time in the database, with continuity and selectivity.
1.4 Print Function Module This function module includes basic data print, PF data print and other sub-function modules. Each function module is provided to the user in the form of a form. The user calls the basic wood data report and PF data report according to the form.
1.5 Help Function Block The help function module contains two sub-function modules "Help Topic" and "About". The system's "help topic" has a Window, style, call the Windows operating system help program (ivinhelp.PXP), how to use the data query, data maintenance, how to use the drawing, print, and how to exit in the help file. Systems and other functions are described in detail. The "About" module shows the development tools used in the system as well as the system name and some other relevant information.
1.6 Exiting the System Module Users can exit the system through this function module. When the user wants to exit the system, you can click “Exit†on the system menu with the mouse and the system will pop up a warning message, prompting the user to exit the system and click. "Yes" can exit the system.
2 Principles and methods of functional module implementation 2.1 Implementation of data query and maintenance The system can selectively query any element of the data in the database to obtain the user's needs. The query function is written by the standard SQL language (structured query language). The system uses the query wizard in Visual Fox-pro. It is convenient and quick, and the data in the database can be edited, added, and deleted to be maintained.
2.2 The realization of the drawing Before the drawing, the user can select the relevant options, such as elements, time, conditions, and types of graphics. According to the user's requirements, the system can output two-dimensional (or three-dimensional), histogram or graph and other graphics. During the drawing process, the system calls the Miconsoft Graph control in the ActiveX of Visual Foxpro 8.0. This ensures the intuitive and vivid colors of the graphics. Support color playing.
2.3 screen interface processing (1) master control menu. The main menu is designed in the top row of the screen and has a toolbar and a status bar. This is achieved by calling ToolI3a: and StatusI3a: in the VF ActiveX control. A number of buttons are placed on the toolbar. The user can quickly and easily call up some functions on the menu. On the status bar, the time of the day can be displayed.
(2) form form is a container class, is a collection of one or more pages, similar to the common standard window or dialog box. Forms can be included in controls for display and editing, or in a form set. After the form enters the system, the user invokes the form through the system main menu to implement the desired operation. Forms are implemented through form wizards or form designers, and form designers complete the program's interactive functions through the form control's properties, events, and methods.
(3) form form as a commonly used class stored in the VF system can be very convenient to call. This class is very important, because a large number of forms are used in the system, and the program base is based on forms. Through a variety of settings, you can achieve a variety of form size control and protection, such as fixed form size, simply set Boderstyle to 1.
3 System Features The operating environment of this system is a high-resolution PC or compatible model with 586/133 MHz or more memory 16 M or higher resolution, 9-pin printer or inkjet VGA or (laser) Printers, Windows 2000 and above operating systems, the system supports the type of database file is *.DI3C type of its main features in the following four.
(1) Rapidly in terms of designing ideas, the entire system adopts a modular and structured design, using local variables as much as possible. Local variables of each module are all released at the end of execution, avoiding the interference and misuse of variables of the same name. This makes it possible to minimize the memory load. This method of environmental maintenance makes the entire system more stable and faster during operation.
(2) Versatility. The soil moisture recorder system has soil moisture data of peach, grasshopper, wheat, and rice at different times and at different depths. When the user manages various data, the methods used are the same, which makes the operation easier.
(3) Flexibility. The system can query, modify, interpolate, delete, export, etc. the data of the above-mentioned volumetric water content, a (tree value, etc.) at any time, and can also quickly display the moisture data of various planting systems at different times and at different depths. Accurately converted into reports, user-friendly data processing.
(4) Simplicity The system was developed with Visual Foxpro 8.0. It is easy to use, world-friendly, and uses pop-up menus, toolbars with icons, and three-dimensional buttons. The colors are rich and the system is simple and convenient to use.
Tpe Raw Material Plastic,Tpe Raw Material,Tpr Plastic Materials,Tpr Raw Material For Injection Molding Toy
Well and Fast (SZ) Plastic Development Co.,Ltd , https://www.well-fast.com