Exemple #1
0
        private void dgvClickEvent()
        {
            BufferInfoDataList BufferInfoList = null;

            foreach (DataGridViewRow dgvViewRow in dgvSlotInfomation.SelectedRows)
            {
                //추가 해야 할 사항
                BufferInfoList.SLOT_GLSID       = dgvViewRow.Cells[0].Value.ToString();
                BufferInfoList.SLOT_GLSJUDGE    = dgvViewRow.Cells[1].Value.ToString();
                BufferInfoList.SLOT_GLSSORTTYPE = dgvViewRow.Cells[2].Value.ToString();
                BufferInfoList.SLOT_SMPLFLAG    = dgvViewRow.Cells[3].Value.ToString();
                BufferInfoList.SLOT_RWKCNT      = dgvViewRow.Cells[4].Value.ToString();
                BufferInfoList.SLOT_GLSTYPE     = dgvViewRow.Cells[5].Value.ToString();
                BufferInfoList.SLOT_FROMPORTID  = dgvViewRow.Cells[6].Value.ToString();
                BufferInfoList.SLOT_FROMCSTID   = dgvViewRow.Cells[7].Value.ToString();
                BufferInfoList.SLOT_FROMSLOTID  = dgvViewRow.Cells[8].Value.ToString();

                BufferInfoList.Lot_PORTID   = this.lblPortID.Text;
                BufferInfoList.Lot_CSTID    = this.lblCSTID.Text;
                BufferInfoList.Lot_LOADTIME = this.lblLoadTime.Text;
                BufferInfoList.Lot_QTY      = this.lblQty.Text;

                frmBufferDataEdit frmBufferDataEdit = new frmBufferDataEdit();
                frmBufferDataEdit.TopMost = true;
                frmBufferDataEdit.ShowDialog();
            }
        }
Exemple #2
0
        private void setInformationDatas(BufferInfoDataList bufferList)
        {
            BufferInfoDataList BufferList = bufferList;

            for (int i = 0; i < 10; i++)
            {
                dgvSlotInfomation.Rows[i].Cells[0].Value = BufferList.SLOT_GLSID;
                dgvSlotInfomation.Rows[i].Cells[1].Value = BufferList.SLOT_GLSJUDGE;
                dgvSlotInfomation.Rows[i].Cells[2].Value = BufferList.SLOT_GLSSORTTYPE;
                dgvSlotInfomation.Rows[i].Cells[3].Value = BufferList.SLOT_SMPLFLAG;
                dgvSlotInfomation.Rows[i].Cells[4].Value = BufferList.SLOT_RWKCNT;
                dgvSlotInfomation.Rows[i].Cells[5].Value = BufferList.SLOT_GLSTYPE;
                dgvSlotInfomation.Rows[i].Cells[6].Value = BufferList.SLOT_FROMPORTID;
                dgvSlotInfomation.Rows[i].Cells[7].Value = BufferList.SLOT_FROMCSTID;
                dgvSlotInfomation.Rows[i].Cells[8].Value = BufferList.SLOT_FROMSLOTID;
            }
            this.lblCSTID.Text    = BufferList.Lot_PORTID;
            this.lblLoadTime.Text = BufferList.Lot_CSTID;
            this.lblPortID.Text   = BufferList.Lot_LOADTIME;
            this.lblQty.Text      = BufferList.Lot_QTY;
        }