Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MESPageService = new Split();
     }
 }
Ejemplo n.º 2
0
        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);
        }