Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         MESPageService = new Start();
     }
 }
Пример #2
0
        public void T020_Start_LOT2()
        {
            Start s = new Start();
            s.Factory_Name = "F1";
            s.MfgOrder_Name = "MfgOrder_PA_r2";
            s.Workflow_Revision = "WF_First(r1)";
            s.WorkflowStep = s.Workflow.FirstStep;
            s.StartReason_Name = "Engineer";

            StartDetail d = new StartDetail();
            d.ContainerName = "LOT2";
            d.ContainerLevel_Name = "Lot";
            d.ContainerStatus_Name = "Active";
            d.Product_Revision = "ProductA(r2)";

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