集成SerialPortFactory

master
杨威 3 months ago
parent 72b258db65
commit 02bb089ddb

@ -121,6 +121,7 @@
<DependentUpon>ScrewdriverTest.cs</DependentUpon>
</Compile>
<Compile Include="FormUtils.cs" />
<Compile Include="TestDataFactory.cs" />
<Compile Include="Tool\hfIIReader.cs" />
<Compile Include="Tool\HFIIREADER_PARAMS.cs" />
<Compile Include="Tool\SerialPortFactory.cs" />

@ -0,0 +1,27 @@
using System.Collections.Generic;
namespace NDSD_Screwdriver
{
public class TestDataFactory
{
/// <summary>
/// 获取Rfid的数据
/// </summary>
/// <returns></returns>
public static List<string> GetRfidList()
{
List<string> ls = new List<string>
{
"E0040150B8C12108",
"E0040150B8C1393A",
"E0040150B8C0512F",
"E0040150B8C170F6",
"E0040150B8C12100"
};
return ls;
}
}
}
Loading…
Cancel
Save