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; } + } + } +}