Commit 36800b3c by 任天宇

优化

parent 697f9267
...@@ -461,7 +461,7 @@ namespace Kivii.Client.SamplePackages ...@@ -461,7 +461,7 @@ namespace Kivii.Client.SamplePackages
private void reader_Connected(object sender, ConnectionChangedEventArgs e) private void reader_Connected(object sender, ConnectionChangedEventArgs e)
{ {
//在这启动定时器 //在这启动定时器
_tmr = new System.Timers.Timer(1500); _tmr = new System.Timers.Timer(1000);
_tmr.Elapsed += new System.Timers.ElapsedEventHandler(tmr_Elapsed); _tmr.Elapsed += new System.Timers.ElapsedEventHandler(tmr_Elapsed);
_tmr.Start(); _tmr.Start();
} }
...@@ -476,7 +476,7 @@ namespace Kivii.Client.SamplePackages ...@@ -476,7 +476,7 @@ namespace Kivii.Client.SamplePackages
{ {
return; return;
} }
Thread.Sleep(150);//给下一个写卡让出时间 Thread.Sleep(100);//给下一个写卡让出时间
var epc = ReaderInstance.ReadEpc(); var epc = ReaderInstance.ReadEpc();
samplePrepackaging(tid, epc); samplePrepackaging(tid, epc);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment