From 89cb08796012159c9dfd4e85fedb98c1372b6120 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 17 Jan 2022 10:18:59 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E6=96=B0=E5=A2=9E=E5=88=A4=E6=96=B7?= =?UTF-8?q?=E9=81=8E=E7=AB=99=E6=89=80=E9=9C=80=E5=9F=BA=E6=9C=AC=E8=B3=87?= =?UTF-8?q?=E6=96=99DTO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DTO/BLL/BarCodeCheckDto.cs | 77 +++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 AMESCoreStudio.WebApi/DTO/BLL/BarCodeCheckDto.cs diff --git a/AMESCoreStudio.WebApi/DTO/BLL/BarCodeCheckDto.cs b/AMESCoreStudio.WebApi/DTO/BLL/BarCodeCheckDto.cs new file mode 100644 index 00000000..855e9e93 --- /dev/null +++ b/AMESCoreStudio.WebApi/DTO/BLL/BarCodeCheckDto.cs @@ -0,0 +1,77 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace AMESCoreStudio.WebApi.DTO.AMES +{ + /// + /// (過站資料)BarCodeCheck Dto + /// + public class BarCodeCheckDto + { + + /// + /// 工單號碼 + /// + public string WipNo { get; set; } + + /// + /// 內部條碼 + /// + public string barcode { get; set; } + + /// + /// 生產單位 + /// + public string unitNo { get; set; } + + /// + /// 作業站 + /// + public int station { get; set; } = 0; + + /// + /// 線別站 + /// + public int line { get; set; } = 0; + + /// + /// 紀錄組件或不良代碼 + /// + public List inputItems { get; set; } + + /// + /// 治具條碼 + /// + public List Outfits { get; set; } + + + /// + /// 紀錄組件或不良代碼 + /// + public class InputItem + { + /// + /// 刷入類型 NG or KP(Item_No) + /// + public string inputType { get; set; } + + /// + /// 刷入組件資料或不良代碼 + /// + public string inputData { get; set; } + } + + /// + /// 治具條碼 + /// + public class Outfit + { + /// + /// 刷入治具條碼 + /// + public string inputData { get; set; } + } + } +}