示例#1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MESPageService = new Combine();
     }
 }
示例#2
0
        public void T100_Combine_LOT1()
        {
            Combine s = new Combine();
            Container co = new Container();
            co.ContainerName = "LOT1";
            s.Container = co;
            s.CloseWhenEmpty = true;

            CombineFromDetail d = new CombineFromDetail();
            d.FromContainerName = "LOT1-1";
            d.Qty = 1;
            s.InsertDetail(d);

            d = new CombineFromDetail();
            d.FromContainerName = "LOT1-2";
            d.CombineAllQty = true;
            s.InsertDetail(d);

            Assert.IsTrue(s.ExecuteService(), s.CompletionMessage);
        }