예제 #1
0
 public void SetTools(List <string> tools)
 {
     foreach (string item in tools)
     {
         ProcessEntity selectedTool = m_project.ProcessEntities.FirstOrDefault(x => x.Name == item);
         if (m_project.ProcessEntities.FirstOrDefault(x => x.Name == item) != null)
         {
             Tools.Items.Add(m_project.ProcessEntities.FirstOrDefault(x => x.Name == item));
         }
     }
 }
예제 #2
0
 public void SetOutputsUpdated(List <string> ouputs)
 {
     foreach (string item in ouputs)
     {
         ProcessEntity selectedTool = m_project.ProcessEntities.FirstOrDefault(x => x.Name == item);
         if (m_project.ProcessEntities.FirstOrDefault(x => x.Name == item) != null)
         {
             OutputsUpdated.Items.Add(m_project.ProcessEntities.FirstOrDefault(x => x.Name == item));
         }
     }
 }