From 02bb089ddb0e4f95613a7ddb327501c3057f6daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=94=84=E5=A4=B4?= Date: Wed, 14 Aug 2024 17:13:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90SerialPortFactory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NDSD-Screwdriver/NDSD_Screwdriver.csproj | 1 + NDSD-Screwdriver/TestDataFactory.cs | 27 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 NDSD-Screwdriver/TestDataFactory.cs diff --git a/NDSD-Screwdriver/NDSD_Screwdriver.csproj b/NDSD-Screwdriver/NDSD_Screwdriver.csproj index 48468bd..39e16ec 100644 --- a/NDSD-Screwdriver/NDSD_Screwdriver.csproj +++ b/NDSD-Screwdriver/NDSD_Screwdriver.csproj @@ -121,6 +121,7 @@ ScrewdriverTest.cs + diff --git a/NDSD-Screwdriver/TestDataFactory.cs b/NDSD-Screwdriver/TestDataFactory.cs new file mode 100644 index 0000000..2d390e1 --- /dev/null +++ b/NDSD-Screwdriver/TestDataFactory.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; + +namespace NDSD_Screwdriver +{ + public class TestDataFactory + { + + + /// + /// 获取Rfid的数据 + /// + /// + public static List GetRfidList() + { + List ls = new List + { + "E0040150B8C12108", + "E0040150B8C1393A", + "E0040150B8C0512F", + "E0040150B8C170F6", + "E0040150B8C12100" + }; + + return ls; + } + } +} \ No newline at end of file