Commit 65b783c8 by Seniorious

1

parent 0481217c
...@@ -477,7 +477,7 @@ namespace Common ...@@ -477,7 +477,7 @@ namespace Common
pos += 48; pos += 48;
rtn.NoInBox = (UInt16)GetData(epc, pos, 12); rtn.NoInBox = (UInt16)GetData(epc, pos, 12);
pos += 12; pos += 12;
rtn.MachineNum = (byte)GetData(epc, pos, 4); rtn.EProperty = (byte)GetData(epc, pos, 4);
pos += 4; pos += 4;
rtn.EType = (byte)GetData(epc, pos, 4); rtn.EType = (byte)GetData(epc, pos, 4);
pos += 4; pos += 4;
...@@ -486,7 +486,7 @@ namespace Common ...@@ -486,7 +486,7 @@ namespace Common
for (int i = 2; i <= etype; i++) for (int i = 2; i <= etype; i++)
{ {
rtn.EType = Convert.ToByte(i); rtn.EType = Convert.ToByte(i);
epcList.Add(Hex16ByteToHex16String(EpcConvert.Epc2Gen(rtn)).Replace(" ", "")); epcList.Add(Hex16ByteToHex16String(EpcConvert.Epc3Gen(rtn)).Replace(" ", ""));
} }
return epcList; return epcList;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论