基于RFID超市管理系统的课程设计_第1页
基于RFID超市管理系统的课程设计_第2页
基于RFID超市管理系统的课程设计_第3页
基于RFID超市管理系统的课程设计_第4页
基于RFID超市管理系统的课程设计_第5页
已阅读5页,还剩44页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

精品-----基于RFID市管理系统内摘超市随着市场经济和现代信息技术的的发展可必要的要卷如信息现代化的大潮,如何使用现代化的工具,使企业和经营者个人在最小的投入下获取最大的回报。成为每一个人的梦想。因此,在超市管理中引进现代化的办公软件,就成为时下最好的解决办法。随着管理信息系统理论的实践进一步的发展,随着信息系统的优越性的进一步体现代信息化的管理系统代替传统的简单的计算机操作方式是社会发展的一个必然趋势管理信息系统是对一个组织进行全面管理的人机系统,综合运用计算机技术、信息技术、管理技术和决策技术,与现代化的管理思想、方法和手段结合起来,辅助管理人员进行管理和决策业管理信息系统就是融合现代商业经营管理思想和先进的信息处理技术为一体的管理信息系统。关键字:超市管理系统、技、数据库目录品

精品-----1.超市管理系统规划..........................................................................31.1现状分析.........................................................................................31.2系统目的.......................................................................................31.3研究背景........................................................................................32.需求分析...........................................................................................42.1系统需求........................................................................................42.2功能需求.......................................................................................43.RFID系统实施.................................................................................43.1无线射频识别系统的工作原理....................................................54超市管理系统总体设计....................................................................54.1系统主要功能................................................................................64.2应用软件流程................................................................................64.3应用软件调试过程.........................................................................65源代码..................................................................................................106心得体会..............................................................................................117参考文献..............................................................................................121.市理统划品

精品-----1.1现分最初的超市资料管理,都是靠人力来完成的。但近几年我国超市经营规模日趋扩大,销售额和门店数量大幅度增加,而且许多超市正在突破以食品为主的传统格局,向品种多样化发展小型超市在业务上需要处理大量的库存信息,还要时刻更新产品的销售信息,不断添加商品信息,并对商品各种信息进行统计分析。因此,在超市管理中引进现代化的办公软件,实现超市庞大商品的控制和传输,从而方便销售行业的管理和决策,为超市和超市管理人员解除后顾之忧。1.2系目帮助超市工作人员提高工作效率,帮助超市工作人员利用计算机,极为方便的对超市的商品进行等有关操作,使杂乱的超市数据能够具体化、直观化、合理化等。1.3研背目前,我国零售业信息化状况的三个层面的分布基本明朗:在高端企业,进销调存核心结构体系基本运作正常面临的主要问题是数据的深挖掘和加工、财务业务系统的高度集成、根据企业的并购重组保证系统和数据的统一、稳定;在中端企业,分散营运向集中管理转变进销调存核心结构系统正在由分散单店管理、销售核算向连锁管理、进价核算过渡;在低端企业,刚刚涉足、转向连锁零售业,对于信息化认识处于表面层次,业务流程和信息系统建设需要一段时间的探索、认识和渐进过程。而整个零售行业对信息化的认识已经逐渐趋向一致的认识:信息化是企业可持续发展、增强核心竞争力的必要手段。超市软件系统从企业运营及管理的实际情况出发合当前中国零售业业态发展趋势,顺应了零售行业对信息化的要求商业管理信息系统提供了系统全面的技术解决方案。基于以上原因市信息管理系统目前在各个商业领域都发挥了很大的作用,也得到了越来越多的大、中、小型商业企业的应用。但就目前的应用状况分析,管理系统在中、高端企业得到了广泛的应用和重视,在小型企业、零售店的应用仅局限于信息化的表面层次,没有得到高度的重视。同时,小企业也因资金方面问题限制了其向更高程度信息化的应用!随着信息化的快速发展,以及激烈的市场竞争,各企业也将在信息化上下功夫,以高效率、低成本立足市场,获得更多的利润。品

精品-----2.求析2.1统需求要求系统能有效、快速、安全、可靠和无误的完成上述操作。并要求客户机的界面要单明了,易于操作,服务器程序利于维护。2.2功需大大提高超市的运作效率,通过全面的信息采集和处理助提高超市的决策水平;使用本系统,可以迅速提升超市的管理水平,为降低经营成本,提高效益,增强超市扩张力,提供有效的技术保障。系实3.1

无线射识别系统的作原理无线射频读写器在接收到需要读写标签的指令之后在一定的范围内发出无线射频信号该范围内的标签凭借线圈上的感应电流获得能量启动标签控制电路和射频电路发出存储在芯片中的数据标签主动发出特定信号,读写器直接接受到该信号进行相应解码后恢复数据原始信息然后传输到电子计算机中进行处理,管理系统得到相关的信息,这就是相应的自动识别的工作原理,如图所示:图系作原理图RFID技术的基本工作原理是:标签进入磁场后,随即接收解读器发出的射频信号,凭借着感应电流所获得的能量发送存储在芯片中的产品信息(Tag,源标签或被动标签),或者让标签主动发送某一频率的信号Tag有源标签或主动标签),解读器读取信息并完成解码后,再送至中央信息系统进行有关数据处理。品

精品-----RFID系统,是由阅读器(Reader与电子标签()正是所谓的应答器(Transponder)及应用软件系统这三个部分所组成的,其工作原理是由阅读Reader发射一特定频率的无线电波能量给应答器Transponder,用以驱动的电路将内部的数据送出,这时Reader便依序接收解读数据,再送给应用程序做相应的处理。以RFID卡片阅读器和电子标签之间的通讯及能量感应方式上来看,大致上可以分为:感应耦合(InductiveCoupling)及后向散射耦合BackscatterCoupling两种。一般低频的RFID大都采用第一种方式,而较高频大多则采用第二种方式。阅读器能够根据使用的结构和技术不同分为读或读写装置,是RFID系统信息控制和处理中心。阅读器通常由耦合模块、收发模块、控制模块和接口单元组合而成。阅读器与应答器之间一般采用的是半双工通信方式进行信息交换时阅读器还通过耦合给无源应答器提供能量和时序在际应用中以进一步通过Ethernet或WLAN等实现对物体识别信息的采集、处理及远程传送等基础管理功能。应答器是RFID系统信息的载体,应答器大多是由耦合原件(线圈、微带天线等)与微芯片组成无源单元。4超市理统体计4.1系主功针对超市的特点,为了帮助超市解决现在面临的问题,提高小型超市的竞争力,我们将开发一个小型的超市管理系统系统包括如下功能超市仓库的商品进行商品类别,商品名称,单价,保质期进行录入查询等功能。功能图如下:超市管理系统查询商品类别

查询商品名称

查询商品单价

查询保质期图系功能图品

精品-----4.2应软流首先对电子标签进行注册,读入标签内信息,将读取到的信息发送给系统,显示标签注册成功,凭借注册的信息可以查阅到商品的类别,名称,单价及保质期。图3程图4.3应软调过(1)首先进入系统界面:品

精品-----图系面图(2)在进入系统界面之后进行串口设置,选择当前的端口号,然后进行“开始寻卡”点击确认,结束寻卡:图系面图品

精品-----图系面图(3)然后及女性商品类别,商品名称,保质期和单价的选择,之后进行注册:图系面图(4)在确认注册后就会显示所选择商品的所有信息:品

精品-----图8系界图5.代usingSystem;usingSystem.Collections.Generic;usingSystem.Windows.Forms;namespaceWindowsApplication1{staticclassProgram{///<summary>///应用程序的主入口点。///</summary>[STAThread]staticvoidMain(){Application.EnableVisualStyles();Application.SetCompatibleTextRenderingDefault(false);Application.Run(newchaoshi());品

精品-----}}}**********************************************************************usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.IO.Ports;usingSystem.Net;usingSystem.Net.Sockets;usingSystem.Threading;usingSystem.Collections;usingSystem.IO;namespaceWindowsApplication1{publicpartialclasschaoshi:Form{publicchaoshi(){InitializeComponent();//初始化品

精品-----dateTimePicker1.Value=DateTime.Now;comboBox1.SelectedIndex=0;comboBox4.SelectedIndex=0;comboBox2.Items.Clear();comboBox2.Items.Add("巧克力");comboBox2.Items.Add("奶糖");comboBox2.Items.Add("水果糖");comboBox2.SelectedIndex=0;comboBox3.Items.Add("雪碧");comboBox3.Items.Add("红酒");comboBox3.Items.Add("矿泉水");comboBox3.SelectedIndex=0;comboBox8.SelectedIndex=0;comboBox9.SelectedIndex=0;comboBox10.SelectedIndex=0;comboBox11.SelectedIndex=0;comboBox12.SelectedIndex=0;comboBox13.SelectedIndex=0;comboBox14.SelectedIndex=0;sp.BaudRate=115200;sp.PortName="COM1";try{sp.Open();}catch{品

精品-----MessageBox.Show("串口打开出错);}sqlstr="Server="+textBox3.Text.Trim()+";uid="+textBox5.Text.Trim()+";pwd="+textBox6.Text.Trim()+";database="+textBox4.Text.Trim();System.Net.IPAddressaddr=newSystem.Net.IPAddress(Dns.GetHostByName(Dns.GetHostName()).AddressList[0].Address);textBox1.Text=addr.ToString();}staticpublicstringsqlstr="";//据库连接字符串staticpublicstringtype="";staticpublicstringport="";datada=newdata();Class1cl1=newClass1();TcpListenertl;ThreadacceptThread;UdpClientreceivingUdpClient;IPEndPointRemoteIpEndPoint=newIPEndPoint(IPAddress.Any,0);//串口数据接收时间publicdelegatevoidybb(SerialPortsp1);privatevoidsp_DataReceived(objectsender,SerialDataReceivedEventArgse){ybbybb2=newybb(chuankou);BeginInvoke(ybb2,sp);}stringstt="";//串口处理品

精品-----publicvoidchuankou(SerialPortsp1){try{intili=sp.BytesToRead;byte[]s=newbyte[ili];sp.Read(s,0,s.Length);stt+=cl1.ZHTOAC(s);//16进制字符串处理(不符合要求的删除)while(true){//具体的处理string[]sfg=stt.Split(']');if(sfg.Length>1){if(sfg[0]!=""){if(sfg[0].Substring(0,1)=="["){if(sfg[0]!="["){string[]cards=sfg[0].Substring(1).Split(';');for(inti=0;i<cards.Length;i++){if(cards[i]!=""){tab(da.selectProcardid(cards[i]),品

精品-----cards[i]);boolc5=false;for

(intl=0;l<comboBox5.Items.Count;l++){if(comboBox5.Items[l].ToString()==cards[i]){c5=true;}}if(c5==false){comboBox5.Items.Add(cards[i]);comboBox5.SelectedIndex

=comboBox5.Items.Count-1;}}}}stt=stt.Remove(0,sfg[0].Length+1);}else{stt=stt.Remove(0,1);}}else品

精品-----{stt=stt.Remove(0,1);}}else{break;}}}catch{}}TcpClienttc;publicvoidinternet(){while(true)//环侦听{//treeView1.Nodes.Clear();Socketsocket=tc.Client;Setsocket(socket);while(true)循环侦听{if(socket.Poll(-1,SelectMode.SelectRead)){try品

精品-----{byte[]by=newbyte[0];socket.Receive(by);}catch{break;}if(socket.Available!=0){try{byte[]receiveBytes=newbyte[socket.Available];socket.Receive(receiveBytes);stt+=cl1.ZHTO16(receiveBytes);for(inti=0;i<stt.Length-6;i=i+0){if(stt.Substring(i,4)=="68AA"){i=i+Convert.ToInt32(stt.Substring(i+4,2),16)*2+8;}else品

精品-----{stt=stt.Remove(i,2);}}while(true){if(stt.Length>=6&&stt.Substring(0,4)=="68AA"){if

(stt.Length>=Convert.ToInt32(stt.Substring(4,2),16)*2+8){stringcard16=stt.Substring(6,Convert.ToInt32(stt.Substring(4,2),16)*2);stringcardAC=cl1.ZHTOAC(cl1.ZH16(stt.Substring(6,Convert.ToInt32(stt.Substring(4,2),16)*2)));stt

=stt.Remove(0,Convert.ToInt32(stt.Substring(4,2),16)*2+8);tab(da.selectProcardid(cardAC),cardAC);}else{break;}}else{品

精品-----break;}}}catch{}}else{break;}}else{break;}}}}publicvoidGPRS(){while(true)//环侦听{品

精品-----//treeView1.Nodes.Clear();Socketsocket=tl.AcceptSocket();Setsocket(socket);while(true)循环侦听{if(socket.Poll(-1,SelectMode.SelectRead)){try{byte[]by=newbyte[0];socket.Receive(by);}catch{break;}if(socket.Available!=0){try{byte[]receiveBytes=newbyte[socket.Available];socket.Receive(receiveBytes);stt+=cl1.ZHTO16(receiveBytes);for(inti=0;i<stt.Length-8;i=i+0){if(stt.Substring(i,4)=="68AA"){i

=i+品

精品-----Convert.ToInt32(cl1.ZHTOAC(cl1.ZH16(stt.Substring(i+4,4))))*2+10;}else{stt=stt.Remove(i,2);}}while(true){if(stt.Length>=6&&stt.Substring(0,4)=="68AA"){if(stt.Length>=Convert.ToInt32(cl1.ZHTOAC(cl1.ZH16(stt.Substring(4,4))))*2+10){stringcl1.ZHTOAC(cl1.ZH16(stt.Substring(8,Convert.ToInt32(cl1.ZHTOAC(cl1.ZH16(stt.Substring(0+4,4))))*2)));stringcl1.ZHTOAC(cl1.ZH16(card16));

card16=cardAC=stt=stt.Remove(0,Convert.ToInt32(cl1.ZHTOAC(cl1.ZH16(stt.Substring(0+4,4))))*2+10);tab(da.selectProcardid(cardAC),cardAC);}else{品

精品-----break;}}else{break;}}}catch{}}else{break;}}else{break;}}}}publicvoidWIFI()品

精品-----{while(true)//环侦听{//treeView1.Nodes.Clear();byte[]receiveBytes=receivingUdpClient.Receive(refRemoteIpEndPoint);//获接受到的信息,传时候是以Byte[]传,所以接受时也要用Bytestringstripaddress=RemoteIpEndPoint.Address.ToString();//发送方IP址stringstrPort=RemoteIpEndPoint.Port.ToString();if(Encoding.ASCII.GetString(receiveBytes)=="IP"){byte[]asq=Encoding.ASCII.GetBytes("IP:"+stripaddress+":"+strPort+"\0");receivingUdpClient.Send(asq,

asq.Length,stripaddress,int.Parse(strPort));}try{stt+=cl1.ZHTO16(receiveBytes);for(inti=0;i<stt.Length-6;i=i+0){if(stt.Substring(i,4)=="68AA"){i=i+Convert.ToInt32(stt.Substring(i+4,2),16)*2+8;品

精品-----}else{stt=stt.Remove(i,2);}}while(true){if(stt.Length>=6&&stt.Substring(0,4)=="68AA"){if(stt.Length>=Convert.ToInt32(stt.Substring(4,2),16)*2+8){stringConvert.ToInt32(stt.Substring(4,2),16)*2);

card16=stt.Substring(6,stringcardAC=cl1.ZHTOAC(cl1.ZH16(stt.Substring(6,Convert.ToInt32(stt.Substring(4,2),16)*2)));stt=stt.Remove(0,Convert.ToInt32(stt.Substring(4,2),16)*2+8);tab(da.selectProcardid(cardAC),cardAC);}else{break;}}else{品

精品-----break;}}}catch{}}}delegatevoidSetsocketCallback(Socketsocket);publicvoidSetsocket(Socketsocket){if(label19.InvokeRequired){SetsocketCallbackd=newSetsocketCallback(Setsocket);Invoke(d,newobject[]{socket});Thread.Sleep(10);}else{label19.Text=socket.RemoteEndPoint.ToString();Thread.Sleep(10);}}品

精品-----delegatevoidtabCallback(DataTabledt,stringcardAC);publicvoidtab(DataTabledt,stringcardAC){try{if(tabControl1.InvokeRequired){tabCallbackd=newtabCallback(tab);Invoke(d,dt,cardAC);}else{if(tabControl1.SelectedIndex==2){if(button2.Text=="结束读取"&&button4.Text=="暂停读取"){DataGridView3(cardAC);}}else{if(button5.Text=="结束读取"&&button1.Text=="暂停读取"){if(dt.Rows.Count>0)品

精品-----{if(da.selectProcard_PCID(int.Parse(dt.Rows[0][0].ToString())).Rows.Count==0){da.AddProcard(int.Parse(dt.Rows[0][0].ToString()),DateTime.Now);DataGridView1(dt);}}}}}}catch{}}delegatevoiddataGridView1Callback(DataTabledt);publicvoidDataGridView1(DataTabledt){try{if(dataGridView1.InvokeRequired)品

精品-----{dataGridView1CallbackdataGridView1Callback(DataGridView1);Invoke(d,newobject[]{dt});}else{

d=newDataTabledt1=da.selectProcard();doublehj=0;for(inti=0;i<dt1.Rows.Count;i++){hj+=double.Parse(dt1.Rows[i]["Promoney"].ToString());}label15.Text=hj.ToString();dataGridView1.DataSource=dt1;boolyou=false;for(inti=0;i<dataGridView2.Rows.Count;i++){if(dataGridView2.Rows[i].Cells[0].Value.ToString()==dt.Rows[0]["Proname"].ToString()&&dataGridView2.Rows[i].Cells[1].Value.ToString()==dt.Rows[0]["Proxh"].ToString()){you=true;dataGridView2.Rows[i].Cells[3].Valueint.Parse(dataGridView2.Rows[i].Cells[3].Value.ToString())+1;dataGridView2.Rows[i].Cells[4].Value品

==

精品-----int.Parse(dataGridView2.Rows[i].Cells[3].Value.ToString())int.Parse(dataGridView2.Rows[i].Cells[2].Value.ToString());}}if(you==false){dataGridView2.Rows.Add(dt.Rows[0]["Proname"].ToString(),

*dt.Rows[0]["Proxh"].ToString(),dt.Rows[0]["Promoney"].ToString());}}}catch{}

dt.Rows[0]["Promoney"].ToString(),1,}delegatevoiddataGridView3Callback(stringcardAC);publicvoidDataGridView3(stringcardAC){try{if(dataGridView3.InvokeRequired){dataGridView3CallbackdataGridView3Callback(DataGridView3);Invoke(d,cardAC);品

d=new

精品-----}else{boolyou=false;for(inti=0;i<dataGridView3.Rows.Count;i++){ifdataGridView3.Rows[i].Cells[1].Value.ToString()){you=true;}}if(you==false){

(cardAC==dataGridView3.Rows.Add("true",cardAC);label9.Text=Convert.ToString(int.Parse(label9.Text)+1);}}}catch{}}privatevoidbutton5_Click(objectsender,EventArgse){品

精品-----if(button5.Text=="开始读取"){if(button1.Text=="停读"){try{button1.Enabled=true;da.deleteProcard();dataGridView1.DataSource=null;dataGridView1.Rows.Clear();dataGridView2.Rows.Clear();DateTimedtime=DateTime.Now;label11.Text

=dtime.ToString()+":"+dtime.Millisecond.ToString();button5.Text="结束读";label12.Text="----";}catch{MessageBox.Show("据库出错","ISO15693");}}}else{button1.Enabled=false;DateTimedtime=DateTime.Now;品

精品-----label12.Text=dtime.ToString()+":"+dtime.Millisecond.ToString();button5.Text="始读取";button1.Text="停读取";}}privatevoidbutton1_Click(objectsender,EventArgse){if(button1.Text=="暂停读取"){button1.Text="续读取";}else{button1.Text="停读取";}}privatevoiddataGridView3_CellValueChanged(objectsender,DataGridViewCellEventArgse){intn=0;for(inti=0;i<dataGridView3.Rows.Count;i++){if(dataGridView3.Rows[i].Cells[0].Value.ToString()=="true"){n++;}品

精品-----}label9.Text=n.ToString();}privatevoidcomboBox1_SelectedIndexChanged(objectsender,EventArgse){if(comboBox1.SelectedIndex==0){comboBox2.Items.Clear();comboBox2.Items.Add("薯片");comboBox2.Items.Add("果冻");;comboBox2.SelectedIndex=0;}if(comboBox1.SelectedIndex==1){comboBox2.Items.Clear();comboBox2.Items.Add("雪碧");comboBox2.Items.Add("红酒");comboBox2.Items.Add("果汁");comboBox2.SelectedIndex=0;}if(comboBox1.SelectedIndex==2){comboBox2.Items.Clear();comboBox2.Items.Add("巧克力");comboBox2.Items.Add("水果糖");comboBox2.Items.Add("奶糖");品

精品-----comboBox2.SelectedIndex=0;}if(comboBox1.SelectedIndex==3){comboBox2.Items.Clear();comboBox2.Items.Add("樱桃");comboBox2.Items.Add("草莓");comboBox2.Items.Add("山竹");comboBox2.SelectedIndex=0;}if(comboBox1.SelectedIndex==4){comboBox2.Items.Clear();comboBox2.Items.Add("纸巾");comboBox2.Items.Add("笔");comboBox2.SelectedIndex=0;}}privatevoidcomboBox3_SelectedIndexChanged(objectsender,EventArgse){}privatevoidbutton2_Click(objectsender,EventArgse){if(button2.Text=="开始读取"){品

精品-----button4.Enabled=true;if(button4.Text=="停读"){dataGridView3.Rows.Clear();DateTimedtime=DateTime.Now;label6.Text=dtime.ToString();button2.Text="结束读取;}}else{button4.Enabled=false;button2.Text="始读取";button4.Text="停读取";}}privatevoidbutton4_Click(objectsender,EventArgse){if(button4.Text=="暂停读取"){button4.Text="续读取";}else{品

精品-----button4.Text="停读取";}}privatevoidbutton6_Click(objectsender,EventArgse){if(dataGridView3.Rows.Count>0){try{boolxz=false;for(inti=0;i<dataGridView3.Rows.Count;i++){if(dataGridView3.Rows[i].Cells[0].Value.ToString()=="true"){xz=true;if(da.selectProcardid(dataGridView3.Rows[i].Cells[1].Value.ToString()).Rows.Count==0){da.AddProcardgl(dataGridView3.Rows[i].Cells[1].Value.ToString(),

label6.Text,dateTimePicker1.Value.ToString(),comboBox1.SelectedItem.ToString(),comboBox3.SelectedItem.ToString());}else{

comboBox2.SelectedItem.ToString(),numericUpDown1.Value.ToString(),品

精品-----da.UpdateProcardgl(dataGridView3.Rows[i].Cells[1].Value.ToString(),

label6.Text,dateTimePicker1.Value.ToString(),comboBox1.SelectedItem.ToString(),comboBox3.SelectedItem.ToString());}}}if(xz==true){

comboBox2.SelectedItem.ToString(),numericUpDown1.Value.ToString(),MessageBox.Show("册成功","ISO15693");}else{MessageBox.Show("选中要注册的标签","ISO15693");}}catch{MessageBox.Show("数据库出错,"ISO15693");}}else{MessageBox.Show("请读取卡片标签","ISO15693");}}privatevoidbutton7_Click(objectsender,EventArgse)品

精品-----{if(sp.IsOpen==true){sp.Close();}try{acceptThread.Abort();tl.Stop();}catch{}try{tc.Close();}catch{}try{receivingUdpClient.Close();}catch{}try{tc.Close();}品

精品-----catch{}sqlstr="Server="+textBox3.Text.Trim()+";uid="+textBox5.Text.Trim()+";pwd="+textBox6.Text.Trim()+";database="+textBox4.Text.Trim();sp.BaudRate=115200;sp.PortName=comboBox4.SelectedItem.ToString();if(radioButton1.Checked==true){try{sp.Open();label25.Text=radioButton1.Text;MessageBox.Show("设置成功,"ISO15693");}catch{MessageBox.Show("串口被占用,"ISO15693");}}if(radioButton2.Checked==true){try{tc=newTcpClient();tc.Connect(textBox1.Text,int.Parse(textBox2.Text.Trim()));label19.Text="始连";品

精品-----acceptThread=newThread(newThreadStart(internet));acceptThread.IsBackground=true;acceptThread.Start();label25.Text=radioButton2.Text;MessageBox.Show("设置成功,"ISO15693");}catch{MessageBox.Show("端口被占用,"ISO15693");}}if(radioButton3.Checked==true){try{tlint.Parse(textBox2.Text.Trim()));

=newTcpListener(System.Net.IPAddress.Any,tl.Start();label19.Text="在连";acceptThread=newThread(newThreadStart(GPRS));acceptThread.IsBackground=true;acceptThread.Start();label25.Text=radioButton3.Text;MessageBox.Show("设置成功,"ISO15693");}catch{MessageBox.Show("端口被占用,"ISO15693");品

精品-----}}if(radioButton4.Checked==true){try{receivingUdpClientUdpClient(int.Parse(textBox2.Text.Trim()));

=newacceptThread=newThread(newThreadStart(WIFI));acceptThread.Start();label19.Text="连接";label25.Text=radioButton4.Text;MessageBox.Show("设置成功,"ISO15693");}catch{MessageBox.Show("端口被占用,"ISO15693");}}}privatevoidradioButton1_CheckedChanged(objectsender,EventArgse)********************************

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论