Commit 1643242b by 任天宇

优化

parent 2c7ea1e5
...@@ -239,13 +239,13 @@ namespace Kivii.Client.SampleInbounds ...@@ -239,13 +239,13 @@ namespace Kivii.Client.SampleInbounds
packageSettingByTid(tid, tEpc); packageSettingByTid(tid, tEpc);
})); }));
if (tEpc.IsNullOrEmpty()) return; //if (tEpc.IsNullOrEmpty()) return;
if (_currentTotalEpcs.IsNullOrEmpty()) _currentTotalEpcs = new List<string>(); //if (_currentTotalEpcs.IsNullOrEmpty()) _currentTotalEpcs = new List<string>();
if (!_currentTotalEpcs.Contains(tEpc)) //if (!_currentTotalEpcs.Contains(tEpc))
{ //{
_currentTotalEpcs.Add(tEpc); // _currentTotalEpcs.Add(tEpc);
samplePreAssigning(null, tEpc); // samplePreAssigning(null, tEpc);
} //}
break; break;
case 0x89://读取Epc case 0x89://读取Epc
var epc = ReaderExtension.ProcessInventoryReal(msgTran, reader, currentInventoryBuffer, currentSetting); var epc = ReaderExtension.ProcessInventoryReal(msgTran, reader, currentInventoryBuffer, currentSetting);
......
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