The issue of food security has always been taken into account by every country, becauseit plays a great role in maintaining social stability, increasing national power and withstandingnatural disasters. However, most of the grain depots in China are concentrated on extensivemanagements by manpower, which not only lowers the management efficiency of graindepots but also is a huge amount of waste in the process of storage.This paper puts forward a kind of design method of upper computer on temperature andhumidity monitoring system of granary. Designs of this upper computer mainly include: thedesign of management system software, the design of database, and the design of RS-232serial port. The software of upper computer management system is mainly designed byadopting the visual studio2010development platform and C#language, which mainly realizesuch functions as monitoring display on the temperature and humidity of granary, informationmanagement on entry and delivery, and controlling the lower computer. However, thedatabase are mainly designed by use of SQL Server2008software development platform andSQL language, which mainly include the table of user information, the table of temperatureand humidity information and the table of storage information. Only by them can themanagement system achieve its functions through accessing database. The RS-232serial port,through programming, can transfer data to upper computer and make the upper computer sendcontrol command to the lower computer by serial port. |