internal static string GetVersion(string productID) { ProductVal val = GetProductByVersion(productID); if (val == null) { return(null); } return(val.GetMaxQtyVersion()); }
public static void AddProductByVersion(FabLot lot) { string productID = lot.CurrentProductID; ProductVal val; if (_prodValDic.TryGetValue(productID, out val) == false) { _prodValDic.Add(productID, val = new ProductVal(productID)); } val.AddLot(lot); }