Beispiel #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MESPageService = new Associate();
     }
 }
Beispiel #2
0
        public void T120_Associate_LOT1()
        {
            Associate s = new Associate();
            Container co = new Container();
            co.ContainerName = "LOT1";
            s.Container = co;

            AssociateDetail sd;
            sd = new AssociateDetail();
            sd.ChildContainerName = "LOT1-1";
            s.InsertDetail(sd);
            sd = new AssociateDetail();
            sd.ChildContainerName = "LOT1-2";
            s.InsertDetail(sd);

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