protected void btnDefect_Click(object sender, EventArgs e) { Defect s = MESPageService as Defect; s.Container_Name = txtContainer.Text; s.QtyInspected = int.Parse(txtQtyInspected.Text); s.ExecuteService(); lblCompleteMsg.Text = s.CompletionMessage; MESPageService = null; }
public void T110_Defect_LOT1() { Defect s = new Defect(); Container co = new Container(); co.ContainerName = "LOT1"; s.Container = co; DefectDetail d = new DefectDetail(); d.DefectQty = 1; s.InsertDetail(d); Assert.IsTrue(s.ExecuteService(), s.CompletionMessage); }