Esempio n. 1
0
        /// <summary>
        /// </summary>
        /// <param name="pegPart"/>
        /// <param name="handled"/>
        /// <param name="prevReturnValue"/>
        /// <returns/>
        public PegPart PREPARE_WIP0(PegPart pegPart, ref bool handled, PegPart prevReturnValue)
        {
            foreach (FabWipInfo wip in InputMart.Instance.FabWipInfo.Values)
            {
                FabPlanWip planWip = CreateHelper.CreatePlanWip(wip);

                //OwnerE 는 패깅하지 않음.
                if (wip.OwnerType == Constants.OwnerE)
                {
                    PegHelper.WriteUnpegHistory(planWip, wip.OwnerType);
                    continue;
                }

                InputMart.Instance.FabPlanWip.ImportRow(planWip);
            }

            return(pegPart);
        }
Esempio n. 2
0
        internal static void PrePareBankWip()
        {
            if (CellBankPlanWips == null)
            {
                CellBankPlanWips = new Dictionary <string, List <FabPlanWip> >();
            }


            foreach (var item in InputMart.Instance.CellBankWips.Values)
            {
                FabPlanWip wip = CreateHelper.CreatePlanWip(item);

                string key = LcdHelper.CreateKey(item.ShopID, item.WipStepID);

                List <FabPlanWip> list;
                if (CellBankPlanWips.TryGetValue(key, out list) == false)
                {
                    CellBankPlanWips.Add(key, list = new List <FabPlanWip>());
                }

                list.Add(wip);
            }
        }