Exemple #1
0
 public void InvokeOnUpdateCubeEvent()
 {
     //更新前台小车控件的信息
     if (OnUpdateCSortingMainCubeEvent != null)
     {
         OnUpdateCSortingMainCubeEvent.Invoke(this, new EventArgs());
     }
 }
Exemple #2
0
 private void buttonX1_Click(object sender, EventArgs e)
 {
     foreach (SortingLineTask sortingLineTask in SortingLineTaskQueue.GetInstance().SortingLineTasks)
     {
         if (sortingLineTask != null && sortingLineTask.INDEXNO > 0)
         {
             sortingLineTask.SaveSortingTaskProcess(sortingLineTask.ID);
         }
     }
     LoadTask();
     SortingLineTaskQueue.GetInstance().CreateCubesModel();
     //更新前台小车控件的信息
     if (OnUpdateCSortingMainCubeEvent != null)
     {
         OnUpdateCSortingMainCubeEvent.Invoke(this, new EventArgs());
     }
 }