Font Size: a A A

The Design Of Computer-software Of Discrete Water And Soil Analyzer Based On C#

Posted on:2016-03-07Degree:MasterType:Thesis
Country:ChinaCandidate:Y MaoFull Text:PDF
GTID:2191330467997444Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Environmental pollution of our country is one of the major problems that need tosolve in urgent.The management of water-quality and soil is the key content ofenvironmenttal protaction work.It is very important to develop an efficient andaccurate analyzer of water-quality and soil for environmental protection work.Whatis introduced in this paper is the development of computer-software of the discretewater and soil analyzer project.This analyzer is based on the principle of the selective absorption of light。Theanalysis method of the instrument is spectrophotometry.Spectrophotometry is a usefulmethod of measuring concentration of the sample.In this paper, the concentration ofthe calculation method is Lambert-beer’s law and the least square method.First,theprogram fits the standard cure with standard sample.Second,the program measuresabsorbance of the normal sample under test.The lower machine of discrete water-quality and soil analyzer is made by otherpersons of the project team. The development language of the computer-software isC#. The soft-ware development platform is Visual Studio2010.The program need tointroduce some dynamic link library and COM components.At first, this software designed the upper machine and lower machinecommunication protocol and the work timing of the instrument.The work timing iscontrolled by the computer-software.The timer control sendsinstructions in thesequence to the lower machine periodically though a serial port.According to thecommunication protocol,the lower machine parses the instruments and controlcomponents to make action.At second, this software designed core functions such as samples-adding,samples-testing, methods-setting, results analysis and so on.The functions ofsamples-adding and samples-testing are adding messages of sample andmethods.The function of sample-testing is sending instructions to the lower machineThe function of results analysis is handling return data.The last, this software also designed other fuctions such as Lan shared controland system parameter settings.Lan sharing is adopted by the C/S structure.The computer directlt connected with the lower machin is setted as the server.Thecomputer conected with the server。The computer conected with the server thoughthe router is setted as a client.Lan shared function is to achieve controling the lowermachine indirectly by the client via Lan.The function of system parameter setting isto achieve setting parameters of spectometer and temperature.Camparing with the prievious traditional water-quality and soil testinginstument,this analyzer is more correct and more efficient.It reduces the crosscontamination between different samples.It makes the operation more easy andconvinient because of the function of Lan shared control.
Keywords/Search Tags:analysis of water and soil, C#, design of computer-software
PDF Full Text Request
Related items