Пример #1
0
        /// <summary>
        /// </summary>
        /// <param name="pegTarget"/>
        /// <param name="stage"/>
        /// <param name="isRun"/>
        /// <param name="handled"/>
        /// <param name="prevReturnValue"/>
        /// <returns/>
        public TimeSpan GET_TARGET_TAT0(Mozart.SeePlan.Pegging.PegTarget pegTarget, Mozart.SeePlan.Pegging.PegStage stage, bool isRun, ref bool handled, TimeSpan prevReturnValue)
        {
            FabPegTarget target = pegTarget as FabPegTarget;
            FabStep      step   = pegTarget.PegPart.CurrentStep as FabStep;

            float waitTat = (float)SiteConfigHelper.GetDefaultWaitTAT().TotalMinutes;
            float runTat  = (float)SiteConfigHelper.GetDefaultRunTAT().TotalMinutes;

            StepTat tat = step.GetTat(target.ProductID, target.IsMainLint);

            if (tat != null)
            {
                waitTat = tat.WaitTat;
                runTat  = tat.RunTat;
            }

            float time = isRun ? runTat : waitTat;

            return(TimeSpan.FromMinutes(time));
        }
Пример #2
0
            public override bool UseTargetTat(Mozart.SeePlan.Pegging.PegPart pegPart, Mozart.SeePlan.Pegging.PegStage stage, bool isRun)
            {
                bool handled     = false;
                bool returnValue = false;

                returnValue = this.fpSHIFT_TAT.USE_TARGET_TAT0(pegPart, stage, isRun, ref handled, returnValue);
                return(returnValue);
            }
Пример #3
0
            public override bool UseTargetYield(Mozart.SeePlan.Pegging.PegPart pegPart, Mozart.SeePlan.Pegging.PegStage stage)
            {
                bool handled     = false;
                bool returnValue = false;

                returnValue = this.fpAPPLY_YIELD.USE_TARGET_YIELD0(pegPart, stage, ref handled, returnValue);
                return(returnValue);
            }