Exemplo n.º 1
0
        public EqpState(FabManager manager, AoEquipment equipment, Dictionary <string, InFlowSteps> steps)
        {
            _fabManager = manager;

            _stepList  = steps;
            _equipment = equipment;

            Initialize();
        }
Exemplo n.º 2
0
        private static void BuildEqpStates()
        {
            foreach (FabAoEquipment eqp in Factory.Equipments.Values)
            {
                if (SimHelper.IsTftRunning)
                {
                    if (eqp.ShopID == Constants.CellShop)
                    {
                        continue;
                    }
                }
                else
                {
                    if (eqp.ShopID != Constants.CellShop)
                    {
                        continue;
                    }
                }

                string eqpID         = eqp.EqpID;
                string dspEqpGroupID = eqp.DspEqpGroupID;

                Dictionary <string, EqpState> eqpDic;
                if (_eqpDic.TryGetValue(dspEqpGroupID, out eqpDic) == false)
                {
                    _eqpDic[dspEqpGroupID] = eqpDic = new Dictionary <string, EqpState>();
                }

                FabManager fabMgr = InFlowMaster.GetManager(dspEqpGroupID);

                if (fabMgr == null)
                {
                    continue;
                }

                eqpDic[eqpID] = new EqpState(fabMgr, eqp, InFlowMaster.GetInFlowSteps(eqpID));
            }
        }