Пример #1
0
        private void RunMaterialsTask(ItemStationMaterialsTask itemTask)
        {
            IPartsConsumptionView view = View.PartsConsumptionTaskView;

            StationMaterialsTaskModel model =
                new StationMaterialsTaskModel(itemTask);

            StationMaterialsTaskController controller =
                new StationMaterialsTaskController(model, view);

            View.ShowMaterialsTaskView();
        }
Пример #2
0
 public StationMaterialsTaskModel(ItemStationMaterialsTask task) :
     base(task.Task.Configuration)
 {
     m_task = task;
 }