private void setInformaionDatas(DataEditList dataEditList) { DataEditList DataEditList = dataEditList; this.lblLot_PortID.Text = DataEditList.LOT_PORTID; this.lblLot_CSTID.Text = DataEditList.LOT_CSTID; this.txtLotID.Text = DataEditList.LOT_LOTID; this.txtLot_ProdID.Text = DataEditList.LOT_PRODID; this.txtLot_OperID.Text = DataEditList.LOT_OPERID; this.txtLotJudge.Text = DataEditList.LOT_LOTJUDGE; this.txtLotSortType.Text = DataEditList.LOT_LOTSORTTYPE; this.lblSlotID.Text = DataEditList.SLOT_SLOTID; this.txtSlot_GLSID.Text = DataEditList.SLOT_GLSID; this.txtSLot_RWKCNT.Text = DataEditList.SLOT_RWKCNT; this.cmbSlot_GlsExist.Text = DataEditList.SLOT_GLSEXIST; this.cmbSlot_SMPLFLAG.Text = DataEditList.SLOT_SMPLFLAG; this.txtSlot_GlsType.Text = DataEditList.SLOT_GLSJUDGE; this.txtSlot_GlsJudge.Text = DataEditList.SLOT_GLSTYPE; this.txtSlot_GlsSortType.Text = DataEditList.SLOT_GLSSORTTYPE; this.txtSlot_PPID.Text = DataEditList.SLOT_PPID; this.txtSlot_CFGLSID.Text = DataEditList.SLOT_CFGLSID; this.cmbSlot_GlsPnlData.Text = DataEditList.SLOT_GLSPNLDATA; this.cmbSlot_GlsProcFlag.Text = DataEditList.SLOT_GLSPROCFLAG; this.txtSlot_GlsPnlJudge.Text = DataEditList.SLOT_GLSPNLJUDGE; this.txtSlot_glsPnlGrade.Text = DataEditList.SLOT_GLSPNLGRADE; this.txtSlot_FromEqpNo.Text = DataEditList.SLOT_FROMEQPNO; this.txtSlot_FromPortNo.Text = DataEditList.SLOT_FROMPORTNO; this.txtSlot_FromSlotNo.Text = DataEditList.SLOT_FROMSLOTNO; this.txtSlot_InputGlsID.Text = DataEditList.SLOT_INPUTGLSID; }
private void btnUpdate_Click(object sender, EventArgs e) { Log_Converter("UI", "Update Button Click"); //추가 해야 할 사항 DataEditList dataEditList = null; dataEditList.LOT_PORTID = this.lblLot_PortID.Text; dataEditList.LOT_CSTID = this.lblLot_CSTID.Text; dataEditList.LOT_LOTID = this.txtLotID.Text; dataEditList.LOT_PRODID = this.txtLot_ProdID.Text; dataEditList.LOT_OPERID = this.txtLot_OperID.Text; dataEditList.LOT_LOTJUDGE = this.txtLotJudge.Text; dataEditList.LOT_LOTSORTTYPE = this.txtLotSortType.Text; dataEditList.SLOT_SLOTID = this.lblSlotID.Text; dataEditList.SLOT_GLSID = this.txtSlot_GLSID.Text; dataEditList.SLOT_RWKCNT = this.txtSLot_RWKCNT.Text; dataEditList.SLOT_GLSEXIST = this.cmbSlot_GlsExist.Text; dataEditList.SLOT_SMPLFLAG = this.cmbSlot_SMPLFLAG.Text; dataEditList.SLOT_GLSJUDGE = this.txtSlot_GlsType.Text; dataEditList.SLOT_GLSTYPE = this.txtSlot_GlsJudge.Text; dataEditList.SLOT_GLSSORTTYPE = this.txtSlot_GlsSortType.Text; dataEditList.SLOT_PPID = this.txtSlot_PPID.Text; dataEditList.SLOT_CFGLSID = this.txtSlot_CFGLSID.Text; dataEditList.SLOT_GLSPNLDATA = this.cmbSlot_GlsPnlData.Text; dataEditList.SLOT_GLSPROCFLAG = this.cmbSlot_GlsProcFlag.Text; dataEditList.SLOT_GLSPNLJUDGE = this.txtSlot_GlsPnlJudge.Text; dataEditList.SLOT_GLSPNLGRADE = this.txtSlot_glsPnlGrade.Text; dataEditList.SLOT_FROMEQPNO = this.txtSlot_FromEqpNo.Text; dataEditList.SLOT_FROMPORTNO = this.txtSlot_FromPortNo.Text; dataEditList.SLOT_FROMSLOTNO = this.txtSlot_FromSlotNo.Text; dataEditList.SLOT_INPUTGLSID = this.txtSlot_InputGlsID.Text; //현재 등록 되어 잇는 정보들을 조합하여 db에 업데이트 해야함. }
private void btnGetGlass_Click(object sender, EventArgs e) { DataEditList dataEditList = null; Log_Converter("UI", "GetGlass Button Click"); //추가 해야 할 사항 setInformaionDatas(dataEditList); //db에 있는 lot, slot 데이터를 가지고 와서 각 부분에 맞게 보냄. }