using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AMESCoreStudio.WebApi.Models.AMES; using AMESCoreStudio.WebApi.Models.BAS; using AMESCoreStudio.WebApi.DTO.AMES; namespace AMESCoreStudio.Web.ViewModels.AUS { public class AUS001ViewModel { public AUS001ViewModel() { AUSBarcodeItems = new List(); } /// /// AUS刷入之出貨序號 /// public string AUS_ExtraBarcode { get; set; } /// /// 工單號碼 /// public string WipNO { get; set; } /// /// 工單ID /// public int WipID { get; set; } /// /// BarCodeID /// public int AUSBarCodeID { get; set; } /// /// 昶亨計畫工單數 /// public int EverPlanQTY { get; set; } = 0; /// /// AUS該次總已刷數 /// public int InputQTY { get; set; } = 0; /// /// 昶亨完工數 /// public int EverFinishQTY { get; set; } /// /// 目前工單AUS已刷數 /// public int AUS_WipNoQTY { get; set; } /// /// 工作站類別 /// public string StationTypeNo { get; set; } /// /// 料號 /// public string ItemNO { get; set; } /// /// 出貨序號 /// public string ExtraBarcodeNo { get; set; } /// /// input /// public string Input { get; set; } /// ///記錄前一個輸入的ExtraNO /// public string PriorInput { get; set; } /// /// 是否是內部序號 /// public bool Barcode { get; set; } = false ; /// /// 數量匯總(EVER工單計畫產量/EVER工單完成數/AUS工單已刷數) /// public string QtyMemo { get; set; } /// /// KeyPart 代號 /// public string KpItemName { get; set; } = string.Empty; /// /// inputs /// public List Inputs { get; set; } = new List(); /// /// 料號KP資訊資料檔 /// public List WipKps { get; set; } = new List(); public List AUSBarcodeItems { get; set; } = new List(); } public class Inputs { /// /// 不良代號 || KeyPart /// public string Input { get; set; } /// /// 異常欄位 /// public string InputNo { get; set; } } }