The Water Supply Scheduling Monitoring System Base on Visual Basic

Author
SunQiMing
Advisor
LiangYanChun , ZhangYu
School
Jilin University
Major
Software Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2008
Downloads
229
Citations
0

Request the full text

Abstract

Water Supply Company of Daqing supply the water for industrial and residential. The Water Supply System of Daqing include:one Monitoring Center,three water plant,two Pumping station,nine Underground Water stations,threeteen Transfer station.It’s a major issue how can we allocate resources of water.in management.For send system data in time,it must have high accuracy and high reliability.A real-time communication is verey important in this system.Water supply of Daqing need a high effective and low cost data transfer system.In these years,we accelerate the application of modern management methods and information technology.we basically completed the construction of information infrastructure.Many enterprise network has used in the Water Supply.But The Water Monitoring System is trailing behind other enterprise network.The worker send the system data of his station by phone.Functional needs of the water system for Water Supply of daqing in this paper. It is said that the technical solution in this paper and give further details of this work.This system consists of two parts:Water Supply Monitoring Center(server) and the Water Station(client).I am adopted Visual Basic 6.0 to develop the system software.The ease of use should be the key in deciding a suitable choice. To operate in windows.To switch among the multiple open form,operation form,data form,display form,station form and statement form.The graduation thesis achieve the following aspects:1,Read back the running data of the Water Station,for the managers of the company to know the whole operating condition of the Water System.2,To make a diagnosis by itself.When something wrong with the communications,The system send alarm information to the center and will report the information into the database.3,Can find out the real-time data or historical data.This program has an auto save feature the historical data in the hard drive.4,The program have "automatic print" and "hand print" two functions.5.Can show water flowchart.For officers to know the operational data of the water station’s equipment. 6.The operator can press the F1 key on the keyboard to gain the on-line help. This will allow operators to gain a variety of systems help.The system provides reliable technical support,for water supply pipe network optimization run,to improve water supply efficiency,improve the economic efficiency of water supply,There is a focus on.1 The PLC is connected to our mainframe computer by the VB’s serial port. MSComm control of VB has two possible communicating:either through Incident Drive or Check.The client of system is used Check,for the data read and write,in the main,as follows:1.1 Set serial port before the programe runSet serial port,set Protocol,open port1.2 Set PLC Function:OrmonNUm()PLC’s databases have been built before the system.Through the function can read the running data in PLC.1.3 Read-Write Function:Function Read_db()Read data Function,Send message to PLC.And PLC send message in the computer’s cache.Computer read the data in the cache.Hexadecimal to decimal FunctionFunction HexToDec()Can make the hexadecimal data chang decimal data.Check Function XORR()Add check code on the data,PLC can check the data.Error information ErrMessage()When something wrong with the communication,the function can send error massage to user.1.4 Set TimerInterval=1000,A cyclic of Timer changes is one second2 The station’s information can send to the center of Water Supply Montioring through the wireless network.By the Winsock control of VB to realizate data communication between the Water Stations and the center of Water Supply Montioring.Set Winsock control array in the server’s program.Winsock(O) to be in a listen condition.In the main,as follows:1.1 Set port Set protocol,LocalPort,RemotPort before the programe running.22 Interface FunctionEvent DataArrived() Data communication among modules in a computer program.2.3 Data communication FunctionConnectionRequest FunctionWinsock1_connectionRequest()When the client request connection,the funvtion get client’s IP and send the massage to other modules.DataArrival FunctionWinsock1_DataArrival().When the success data send come here,send data to other modules.Get Index FunctionGetlndex() Get the client’ID from DWIp and connect the Winsock.Information of station FunctionDWIp().Record the name,ID,IP in the database.Read the data in the database and create an array of DWIp.

Related dissertations

  1. Internal Unit Research and Design of the Computer Onitoring System
    SunHaiYong ·Ocean University of China ·2012 ·Master's thesis
  2. Regional Distribution Monitoring System for the Design and Implementation
  3. The Application of SCADA System in LPG Station
  4. Monitoring System of Motion Position Platform Design Based on Wincc
  5. Application Study of Comprehensive Video Monitoring System of Railways
    MengZiZuo ·Yanshan University ·2012 ·Master's thesis
  6. Design and Research on Monitoring and Diagnosis System of Superconducting Medium Radiator Automatic Filling Production Line
    LiuYang ·Harbin Engineering University ·2013 ·Master's thesis
  7. Design and implementation of computer monitoring and control system of pumping station based on PLC
    XieZhengHua ·Jiangxi University of Technology ·2013 ·Master's thesis
  8. The Research of Facility Agriculture Based on the Wireless Network
    WangYueLi ·Tianjin University of Technology ·2013 ·Master's thesis
  9. Design and Implementation of Management System of the Sms Alarm
  10. Research on Tunnel Monitoring System Key Technology
    ChenGuangJing ·Xi'an University of Petroleum ·2013 ·Master's thesis
  11. Design and Implementation of Software for Highway Tunnel Monitoring System
    SunZuoLi ·Dalian University of Technology ·2013 ·Master's thesis
  12. Design and Implementation of Remote Monitoring System on Broadcast and TV Radiating Station
    LiFuQiang ·Xiamen University ·2013 ·Master's thesis
  13. Based on GSM/GPRS GPS Monitoring System Design for Construction Machinery
  14. Design and Implementation of Application Monitor System for Commercial Bank
    ZhangZhou ·Jilin University ·2013 ·Master's thesis
  15. Emulsifier Fault Diagnosis System Research Based on Data-driven
  16. Design and Implementation of Monitoring System for Lamination Based on PLC and Qt
  17. Non negative pressure water pump monitoring system design and implementation of SCADA software
  18. Remote Monitor System Based on3G and Web Technology
    SongYeWei ·Donghua University ·2014 ·Master's thesis
  19. Design and Implementation of Monitoring System for Industrial Rice Breeding
  20. Design and Implementation of Military Barracks Security Monitoring System
    ZhuKunHua ·Xiamen University ·2014 ·Master's thesis