Пример #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 StationMaterialsTaskController(StationMaterialsTaskModel model, IPartsConsumptionView view)
     : base(model, view)
 {
     m_localModel = model;
 }