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; }
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)); } }
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; }
void ppidManager_recipeStateChanged(Info.ProcessProgram recipe, Info.Action action) { this.recipeStateChanged(recipe, action); }