| | |
| | | public string SN { get; set; } |
| | | public MES_WIP_PKG Package { get; set; } |
| | | public bool IsFinished { get; set; } = false; |
| | | public bool PkgComplete => PKG_LEVEL == 1 || Items.Count(q => q.IsFinished) == PKG_QTY; |
| | | public List<WipPkgItem> Items { get; set; } = new List<WipPkgItem>(); |
| | | public Dictionary<string, string> WipSNs { get; set; } = new Dictionary<string, string>(); |
| | | public double TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : Package.QTY; |
| | | public double TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : Package?.QTY ?? 0; |
| | | |
| | | public List<MES_WIP_PKG> GetMinPackageList() |
| | | { |