Esempio n. 1
0
 public OrderListController(IControllersFactory factory,  IDataManagersFactory dataManagersFactory)
 {
     _factory = factory;
     _dataManagersFactory = dataManagersFactory;
     _orderDataManager = _dataManagersFactory.GetDataManager<Order>();
     _drawingDataManager = _dataManagersFactory.GetDataManager<Drawing>();
 }
 public SuperBillInnerShiftListController(IUppyControllersFactory controlersFactory, IDataManagersFactory dataManagersFactory)
 {
     _controlersFactory = controlersFactory;
     _dataManagersFactory = dataManagersFactory;
     _dataManager = _dataManagersFactory.GetDataManager<SuperBillInnerShift>();
     _orderDataManager = _dataManagersFactory.GetDataManager<Order>();
     _toDataManager = _dataManagersFactory.GetDataManager<TechOperation>();
 }
 public SuperTaskToDistrictListController(IUppyControllersFactory controlersFactory, IDataManagersFactory dataManagersFactory)
 {
     _controlersFactory = controlersFactory;
     _dataManagersFactory = dataManagersFactory;
     _dataManager = _dataManagersFactory.GetDataManager<SuperTaskToDistrict>();
     _orderDataManager = _dataManagersFactory.GetDataManager<Order>();
     _toDataManager = _dataManagersFactory.GetDataManager<TechOperation>();
 }
 public HierarchyNumberDrawingController(IUppyControllersFactory controllersFactory,
     IClassDataManager<Drawing> drawingDataManager, IDataManagersFactory othersDataManagersFactory)
 {
     ControllersFactory = controllersFactory;
     _drawingsDataManager = drawingDataManager;
     _othersDataManagersFactory = othersDataManagersFactory;
     _techRouteDataManager = othersDataManagersFactory.GetDataManager<TechRoute>();
     _techOperDataManager = othersDataManagersFactory.GetDataManager<TechOperation>();
     _workHoursDataManager = othersDataManagersFactory.GetDataManager<WorkHourDrawing>();
 }