Ejemplo n.º 1
0
        internal static string GetVersion(string productID)
        {
            ProductVal val = GetProductByVersion(productID);

            if (val == null)
            {
                return(null);
            }

            return(val.GetMaxQtyVersion());
        }
Ejemplo n.º 2
0
        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);
        }