Ejemplo n.º 1
0
        private Form CreateFormByCollectType(string collectType)
        {
            collectType = collectType.ToUpper();
            Form f = null;

            if (collectType == "ComponentLoading".ToUpper())
            {
                f = new FCollectionMetrial();
            }
            else if (collectType == "BurnIn".ToUpper())
            {
                f = new FBurnIn();
            }
            else if (collectType == "BurnOut".ToUpper())
            {
                f = new FBurnOut();
            }
            else if (collectType == "Packing".ToUpper())
            {
                f = new FGenLotIDMerge();
            }
            else if (collectType == "IDTranslation".ToUpper())
            {
                f = new FCollectionIDMerge();
            }
            else if (collectType == "OQC".ToUpper())
            {
                f = new FCollectionOQC();
            }
            else if (collectType == "Testing".ToUpper())
            {
                f = new FCollectionGDNG();
            }
            return(f);
        }
Ejemplo n.º 2
0
        private Form CreateFormByOPControl(string opControl)
        {
            Form f = null;

            if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.ComponentLoading] == '1')
            {
                f = new FCollectionMetrial();
            }
            else if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.BurnIn] == '1')
            {
                f = new FBurnIn();
            }
            else if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.BurnOut] == '1')
            {
                f = new FBurnOut();
            }
            else if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.Packing] == '1')
            {
                f = new FGenLotIDMerge();
            }
            else if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.IDTranslation] == '1')
            {
                f = new FCollectionIDMerge();
            }
            else if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.OQC] == '1')
            {
                f = new FCollectionOQC();
            }
            else if (opControl[(int)BenQGuru.eMES.BaseSetting.OperationList.Testing] == '1')
            {
                f = new FCollectionGDNG();
            }
            return(f);
        }