Example #1
0
 public PpidType1(Info.Action action)
 {
     InitializeComponent();
     if (action == Info.Action.MODIFY)
     {
         this.textBoxId.Enabled = false;
     }
     this.action       = action;
     this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
 }
Example #2
0
        void mainView_recipeStateChanged(Info.ProcessProgram recipe, Info.Action action)
        {
            System.Diagnostics.Debug.WriteLine(string.Format("체인지 이벤트 함수 : {0}", System.Threading.Thread.CurrentThread.GetHashCode()));
            System.Diagnostics.Debug.WriteLine(string.Format("체인지 이벤트 함수 : {0}", System.Threading.Thread.CurrentThread.Name));
            System.Diagnostics.Debug.WriteLine(string.Format("mRecipeEventThread 상태 : {0}", this.mRecipeEventThread.ThreadState.ToString()));

            lock (this.mRecipeLock)
            {
                this.mRecipeQueue.Enqueue(new Info.RecipeEventArgs(recipe, action));
            }
        }
Example #3
0
        public PpidType2(List <string> recipes, Info.Action action)
        {
            if (recipes.Count <= 0)
            {
                throw new Exception("매핑 될 EQP PPID 리스트가 필요합니다.");
            }

            InitializeComponent();

            if (action == Info.Action.MODIFY)
            {
                this.textBoxId.Enabled = false;
            }

            foreach (string item in recipes)
            {
                this.comboBoxEqpPpid.Items.Add(item);
            }
            this.comboBoxEqpPpid.SelectedIndex = 0;
            this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
        }
Example #4
0
 void ppidManager_recipeStateChanged(Info.ProcessProgram recipe, Info.Action action)
 {
     this.recipeStateChanged(recipe, action);
 }