コード例 #1
0
        protected void btnCombine_Click(object sender, EventArgs e)
        {
            Combine s = MESPageService as Combine;

            s.Container_Name = txtContainer.Text;
            s.CloseWhenEmpty = chkCloseWhenEmpty.Checked;
            s.ExecuteService();
            lblCompleteMsg.Text = s.CompletionMessage;
            MESPageService      = null;
        }
コード例 #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);
        }