Пример #1
0
        private void Test()
        {
            for (int i = 0; i < 5; i++)
            {
                SetupLotResult result = c_ILibraryClient.SetupLotNoCheckLicenser(textBoxLotNo.Text, textBoxMCNo.Text,
                                                                                 textBoxOPNo.Text, textBoxProcess.Text, "");

                StartLotResult result2 = c_ILibraryClient.StartLot(textBoxLotNo.Text, textBoxMCNo.Text,
                                                                   textBoxOPNo.Text, textBoxRecipe.Text);
            }
        }
Пример #2
0
        private void BackgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            for (int i = 0; i < 5; i++)
            {
                SetupLotResult result = c_ILibraryClient.SetupLotNoCheckLicenser(textBoxLotNo.Text, textBoxMCNo.Text,
                                                                                 textBoxOPNo.Text, textBoxProcess.Text, "");

                StartLotResult result2 = c_ILibraryClient.StartLot(textBoxLotNo.Text, textBoxMCNo.Text,
                                                                   textBoxOPNo.Text, textBoxRecipe.Text);
            }
        }
Пример #3
0
        private void buttonStart_Click(object sender, EventArgs e)
        {
            StartLotResult result = c_ILibraryClient.StartLot(textBoxLotNo.Text, textBoxMCNo.Text,
                                                              textBoxOPNo.Text, textBoxRecipe.Text);

            //StartLotResult result = c_ILibraryClient.StartLotOven(textBoxLotNo.Text, textBoxMCNo.Text, textBoxMCNoOv.Text,
            //  textBoxOPNo.Text, textBoxRecipe.Text);
            if (!result.IsPass)
            {
                MessageBox.Show(result.Cause);
            }
        }