Ejemplo n.º 1
0
        private void LoadMaterialTasks()
        {
            RouteStationProcess materialsProcess =
                RoutingRepository.GetRouteStationProcess(m_materialsUow,
                                                         m_process.Id);

            // Get the material tasks from the database.
            ICollection <ItemStationMaterialsTask> materialsTasks =
                RoutingRepository.GetProcessMaterialTasks(m_materialsUow, materialsProcess);

            // Add the material tasks to the model task list
            foreach (ItemStationMaterialsTask task in materialsTasks)
            {
                if (task.Task.ContainsProgramSpecification(m_process.Item.ShopfloorProgram))
                {
                    m_tasks.Add(task);
                }
            }
        }
Ejemplo n.º 2
0
 public RouteStationConfiguration GetConfigurationFor(RouteStation station, Part part)
 {
     return(RoutingRepository.GetConfigurationFor(station, part));
 }
Ejemplo n.º 3
0
 internal void LoadInspectionTasks()
 {
     m_inspectionResults =
         RoutingRepository.GetInspectionResults(m_inspectionsUow,
                                                m_process.Item);
 }