Esempio n. 1
0
            public ResultData(string shopID, string eqpGroup, string eqpID, string subEqpID,
                              StdStep stdStep, string productID, string productVer, string maskID, string wipInitRun)
            {
                this.ShopID         = shopID;
                this.EqpGroup       = eqpGroup;
                this.EqpID          = eqpID;
                this.SubEqpID       = subEqpID;
                this.StdStep        = stdStep;
                this.ProductID      = productID;
                this.ProductVersion = productVer;
                this.MaskID         = maskID;
                this.WipInitRun     = wipInitRun;

                this.MatchKey = CreateKey_Match(this.EqpID,
                                                this.StepID,
                                                this.ProductID,
                                                this.ProductVersion,
                                                this.MaskID);

                if (string.IsNullOrEmpty(subEqpID) == false)
                {
                    this.SubMatchKey = CreateKey_Match(this.SubEqpID,
                                                       this.StepID,
                                                       this.ProductID,
                                                       this.ProductVersion,
                                                       this.MaskID);
                }

                string defaultArrange = stdStep.DEFAULT_ARRANGE;

                var limitTypeList = ParseLimitType(defaultArrange);

                this.HasLimit_M = HasLimitType(limitTypeList, LimitType.M);
            }
Esempio n. 2
0
            public void Import(StdStep stdStep, List<StdStep> stdStepList)
            {
                this.AreaID = stdStep.AREA_ID;
                this.ShopID = stdStep.SHOP_ID;
                this.FromStep = stdStep.STEP_ID;
                this.Seq = stdStep.STEP_SEQ;

                this.ToStep = stdStep.BALANCE_TO_STEP;
                this.BalanceWipQty = stdStep.BALANCE_WIP_QTY;
                this.BalanceGap = stdStep.BALANCE_GAP;

                AddStep(stdStepList);
            }