예제 #1
0
        private void SelectEQPModel_Load(object sender, EventArgs e)
        {
            DynamicConditionFactory dcf = new DynamicConditionFactory();

            _dynamicEQP = dcf.GetDCOfPageByKey("BISTel.eSPC.Page.ATT.Modeling.SPCATTModelingUC");
            Control ctrlEQP = ((DCBar)_dynamicEQP).GetControlByContextID("ESPC_ATT_COMBO_TREE");

            this._btreeComboEQP = (BTreeCombo)ctrlEQP;
            this._btreeComboEQP.SelectionCommitted += new EventHandler(_btreeComboEQP_SelectionCommitted);
            this.bplEQPModel.Controls.Add(ctrlEQP);
            ctrlEQP.Dock = DockStyle.Fill;

            BISTel.eSPC.Page.eSPCWebService.eSPCWebService spcWebService = new WebServiceController <eSPCWebService.eSPCWebService>().Create();

            //SPC MODEL LEVEL을 가져옴
            LinkedList llstCondtion = new LinkedList();

            llstCondtion.Add(BISTel.eSPC.Common.Definition.CONDITION_KEY_CATEGORY, "SPC_ATT_MODEL_LEVEL");
            llstCondtion.Add(BISTel.eSPC.Common.Definition.CONDITION_KEY_USE_YN, "Y");
            //llstCondtion.Add(BISTel.eSPC.Common.Definition.CONDITION_KEY_DEFAULT_COL, "Y");

            DataSet dsModelLevel = spcWebService.GetATTCodeData(llstCondtion.GetSerialData());

            if (DSUtil.CheckRowCount(dsModelLevel))
            {
                _sSPCModelLevel = dsModelLevel.Tables[0].Rows[0][BISTel.eSPC.Common.COLUMN.CODE].ToString();
                if (!_sSPCModelLevel.Equals(BISTel.eSPC.Common.Definition.CONDITION_KEY_EQP_MODEL))
                {
                    this.btnIgnore.Text = "Use Current Area";
                }
            }
        }
예제 #2
0
        private void SPCModelGroupPopup_Load(object sender, EventArgs e)
        {
            DynamicConditionFactory dcf = new DynamicConditionFactory();

            _dynamicEQP = dcf.GetDCOfPageByKey("BISTel.eSPC.Page.ATT.Modeling.SPCATTModelingUC");
            Control ctrlEQP = ((DCBar)_dynamicEQP).GetControlByContextID("ESPC_ATT_COMBO_TREE");

            this._btreeComboEQP = (BTreeCombo)ctrlEQP;
            this._btreeComboEQP.SelectionCommitted += new EventHandler(_btreeComboEQP_SelectionCommitted);
            this.bplEQPModel.Controls.Add(ctrlEQP);
            ctrlEQP.Dock = DockStyle.Fill;

            //SPC MODEL LEVEL을 가져옴
            LinkedList llstCondtion = new LinkedList();

            llstCondtion.Add(BISTel.eSPC.Common.Definition.CONDITION_KEY_CATEGORY, "SPC_ATT_MODEL_LEVEL");
            llstCondtion.Add(BISTel.eSPC.Common.Definition.CONDITION_KEY_USE_YN, "Y");

            DataSet dsModelLevel = _wsSPC.GetCodeData(llstCondtion.GetSerialData());

            if (DSUtil.CheckRowCount(dsModelLevel))
            {
                _sSPCModelLevel = dsModelLevel.Tables[0].Rows[0][BISTel.eSPC.Common.COLUMN.CODE].ToString();
            }


            EESProgressBar.ShowProgress(this, this._mlthandler.GetMessage(Definition.LOADING_DATA), true);

            this._dsGroupList = _wsSPC.GetATTSPCModelGroupList();

            EESProgressBar.CloseProgress(this);

            this._btreeComboEQP_SelectionCommitted(_btreeComboEQP, new EventArgs());
        }