Font Size: a A A

The Network Management System Of The Center Air Conditions

Posted on:2004-09-04Degree:MasterType:Thesis
Country:ChinaCandidate:C SunFull Text:PDF
GTID:2168360092996560Subject:Computer applications
Abstract/Summary:PDF Full Text Request
In this paper, the network management system of the center air conditions is mainly researched and developed by using VC++6.0 and using the database of SQL Server. The most application of the communication technology between the two RS-232 serial ports made the upper-PC communicated with the lower-SCM (the control system of the center air conditions as well as C51 Single Chip Micyoco) to each other,.Firstly, the Upper-PC received the working parameters that the each parts of the air conditions made from the Lower-SCM and analyse it, If there are not exceptional parameters in it, these normal parameters would be placed in the database of the Upper-PC , Otherwise the exceptional parameters made by the some of the parts of the air conditions will be transfered to the center system of control and management over the Internet After the analysis of those exceptional parameters the instruction of the management will be send back to the Lower-SCM through the Upper-PC. Thus the procedure of the remote network control of the center air conditions will be achieved .In the process of the control, It is mainly depends on the definition of the Class CcomStatus to initialize the serial ports that be used to communicate and to validate the status of connection between the two serial ports and to setup the connection between the two serial ports and to open the connection between the two serial ports and to close the connection between the two serial ports. In addition There is a class UartCom derived from the class CcomStatus, In its class members there are two class members were defined ,one is function ReadCommBlock ( ) that was used to read the communications data from the buffer of the serial port, another is function WriteCommBlock ( ) that was used to write the data to the buffer of the serial port. By the two functions the I/O of the serial port are achievedIn the class UartCom members , there are also series of the protocol functions were defined, This protocol is about communication between the serial port of the Upper-PC and the serial port of the Lower-SCM, With this series of the protocol functions It is assured that the communication between the Upper-PC and the Lower-SCM is on the rails.By the use of the class CasyncSock, The class CAsyncSocket has been derived from and has been allocated the fixed number of the port with it was used to remotely transfer the exceptional parameters over InternetFinally With using OLEDB, the normal parameters received from the Lower-SCM are placed in the SQL Server database of the Upper-PC.
Keywords/Search Tags:the RS-232 serial ports, the Upper-PC, the Lower-SCM, the control system of the center air conditions as well as C51 Single Chip Micyoco, the center system of control and management
PDF Full Text Request
Related items