private void RegisterCallbacks()
 {
     foreach (var control in stageUserControls)
     {
         IStageControl iStageControl = (IStageControl)control;
         if (iStageControl != null)
         {
             iStageControl.onFinished += iStageControl_onFinished;
         }
     }
 }
Beispiel #2
0
        //void ucGlassDataViewOnDataGridViewOneGlassView(int iGlassCode)
        //{

        //    CGlassDataProperties oGlass = null;
        //    oGlass = Main.GlassDatas[iGlassCode];

        //    if (oGlass != null)
        //    {
        //        dataGridViewOneGlass.Rows.Clear();
        //        dataGridViewOneGlass.Rows.Add();

        //        DataGridViewRow row = null;

        //        row = dataGridViewOneGlass.Rows[0];
        //        row.Cells["dgvGlassCode"].Value = oGlass.GlassCode;
        //        row.Cells["dgvGlassID"].Value = oGlass.GlassID;
        //        row.Cells["dgvLotID"].Value = oGlass.LotID;
        //        row.Cells["dgvProcessingCode"].Value = oGlass.ProcessingCode;
        //        row.Cells["dgvLotSpecificData"].Value = oGlass.LotSpecificData;
        //        row.Cells["dgvHostRecipeNumber"].Value = oGlass.HostRecipeNumber;
        //        row.Cells["dgvGlassJudge"].Value = oGlass.GlassJudge;
        //        row.Cells["dgvGlassSpecificData"].Value = oGlass.GlassSpecificData;
        //        row.Cells["dgvGlassAddData"].Value = oGlass.GlassAddData;
        //        //row.Cells["GlassVariety"].Value = oGlass.;
        //        //row.Cells["GlassProcessingStatus"].Value = oGlass.ProcessingCode;
        //        row.Cells["dgvOriginalCassetteID"].Value = oGlass.OriginalCassetteID;
        //        row.Cells["dgvGlassCurrentLoc"].Value = oGlass.GlassCurrentLocation;
        //        //row.Cells["GlassCurrentTmLoc"].Value = oGlass.GlassCurrentLocation;
        //        row.Cells["dgvPrevUnitProcessingData"].Value = oGlass.PreviousUnitProcessingData;
        //        row.Cells["dgvCurrentLoc"].Value = oGlass.CurrentLocation;
        //        row.Cells["dgvCreateTime"].Value = oGlass.CreateTime;
        //        row.Cells["dgvModifyTime"].Value = oGlass.ModifyTime;
        //        row.Cells["dgvGlassRoutePath"].Value = oGlass.GlassRoutePath;
        //        row.Cells["dgvEqpRecipeNumber"].Value = oGlass.EQPRecipeNumber;
        //        row.Cells["dgvGlassJudgeCode"].Value = oGlass.GlassJudgeCode;
        //        row.Cells["dgvLotCode"].Value = oGlass.LOTCode;
        //    }
        //}

        // EQP에 Stage정보를 가져오기 위함.
        public FormStageInfo(IStageControl oStage)
        {
            InitializeComponent();
            this.FormText          = oStage.ControlName;
            this._stage            = oStage;
            this.CloseButtonEnable = true;
            this.ButtonType        = PopUpButton.Close;
            // this.ButtonSize = new Size(70, 25);

            //if (this.FormText.Contains("BUFFER02") || this.FormText.Contains("BUFFER01"))
            //{
            //    this.lblSlotNumber.Visible = true;
            //    this.cmbSlotNumber.Visible = true;
            //    this.btnSend.Visible = true;
            //}
        }