Пример #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 buttonSetup_Click(object sender, EventArgs e)
        {
            //SetupLotResult result = c_ILibraryClient.SetupLot(textBoxLotNo.Text, textBoxMCNo.Text,
            //   textBoxOPNo.Text, textBoxProcess.Text, "");
            SetupLotResult result = c_ILibraryClient.SetupLot(textBoxLotNo.Text, textBoxMCNo.Text,
                                                              textBoxOPNo.Text, textBoxProcess.Text, "");

            if (result.IsPass == SetupLotResult.Status.NotPass)
            {
                MessageBoxDialog.ShowMessageDialog(result.FunctionName, result.Cause, result.Type.ToString(), result.ErrorNo);
                return;
            }
            else if (result.IsPass == SetupLotResult.Status.Warning)
            {
                MessageBoxDialog.ShowMessageDialog(result.FunctionName, result.Cause, result.Type.ToString(), result.ErrorNo);
            }
            textBoxRecipe.Text = result.Recipe;
        }