public int GetShippedOutQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ShippedOutNum : 0)); }
public int GetPackQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].PackDisplayQty : 0)); }
public int GetPickedQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].PickedNum : 0)); }
public int GetProcessingQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ProcessingQty : 0)); }
public int GetViewAllQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ViewAllQty : 0)); }
public WarehouseQtyResult GetWarehouseResult(string warehouseCode) { return(WarehouseResults.ContainsKey(warehouseCode) ? WarehouseResults[warehouseCode] : null); }
public int?GetProblemQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].ProblemNum : 0)); }
public int?GetRFAssignedQty(params string[] codes) { return(codes.Sum(code => WarehouseResults.ContainsKey(code) ? WarehouseResults[code].RfAssignedNum : 0)); }