protected void btnSplit_Click(object sender, EventArgs e) { Split s = MESPageService as Split; s.Container_Name = txtContainer.Text; s.CloseWhenEmpty = chkCloseWhenEmpty.Checked; s.ExecuteService(); lblCompleteMsg.Text = s.CompletionMessage; MESPageService = null; }
public void T090_Split_LOT1() { Split s = new Split(); Container co = new Container(); co.ContainerName = "LOT1"; s.Container = co; s.CloseWhenEmpty = false; SplitDetail d = new SplitDetail(); d.ContainerName = "LOT1-1"; d.Qty = 2; s.InsertDetail(d); d = new SplitDetail(); d.ContainerName = "LOT1-2"; d.Qty = 2; s.InsertDetail(d); Assert.IsTrue(s.ExecuteService(), s.CompletionMessage); }