Beispiel #1
0
        public WorkAppService(IRepository <Signin> signinRepository,
                              IRepository <Route> routeRepository,
                              IRepository <RouteArticle> routeArticleRepository,
                              IRepository <RouteTask> routeTaskRepository,
                              IRepository <Depot> depotRepository,
                              IRouteCache routeCache,
                              IWorkRoleCache workRoleCache,
                              IRouteTypeCache routeTypeCache,
                              IArticleCache articleCache,
                              IArticleTypeCache articleTypeCache,
                              IBoxCache boxCache,
                              IOutletCache outletCache,
                              ICustomerTaskTypeCache customerTaskTypeCache,
                              IOutletTaskTypeCache outletTaskTypeCache)
        {
            _signinRepository       = signinRepository;
            _routeRepository        = routeRepository;
            _routeArticleRepository = routeArticleRepository;
            _routeTaskRepository    = routeTaskRepository;
            _depotRepository        = depotRepository;

            _routeCache            = routeCache;
            _workRoleCache         = workRoleCache;
            _routeTypeCache        = routeTypeCache;
            _articleCache          = articleCache;
            _articleTypeCache      = articleTypeCache;
            _boxCache              = boxCache;
            _outletCache           = outletCache;
            _customerTaskTypeCache = customerTaskTypeCache;
            _outletTaskTypeCache   = outletTaskTypeCache;
        }
Beispiel #2
0
 public TypeAppService(DutyProvider dutyProvider,
                       IArticleTypeCache articleTypeCache,
                       IPostCache postCache,
                       IRouteTypeCache routeTypeCache,
                       ITaskTypeCache taskTypeCache,
                       IWorkRoleCache workRoleCache,
                       IWorkplaceCache workplaceCache,
                       IOilTypeCache oilTypeCache,
                       IVehicleMTTypeCache vehicleMTTypeCache)
 {
     _dutyProvider       = dutyProvider;
     _articleTypeCache   = articleTypeCache;
     _postCache          = postCache;
     _routeTypeCache     = routeTypeCache;
     _taskTypeCache      = taskTypeCache;
     _workRoleCache      = workRoleCache;
     _workplaceCache     = workplaceCache;
     _oilTypeCache       = oilTypeCache;
     _vehicleMTTypeCache = vehicleMTTypeCache;
 }
Beispiel #3
0
 public RouteAppService(IRepository <Route> routeRepository,
                        IRepository <RouteWorker> workerRepository,
                        IRepository <RouteTask> taskRepository,
                        IRepository <RouteEvent> eventRepository,
                        IRepository <RouteArticle> articleRepository,
                        IRepository <RouteInBox> inBoxRepository,
                        IRepository <RouteOutBox> outBoxRepository,
                        IRepository <PreRoute> preRouteRepository,
                        IRepository <PreRouteWorker> preRouteWorkerRepository,
                        IRepository <PreRouteTask> preRouteTaskRepository,
                        IRepository <PreVehicleWorker> preVehicleWorkerRepository,
                        IRepository <ArticleRecord> articleRecordRepository,
                        IRepository <BoxRecord> boxRecordRepository,
                        IRouteTypeCache routeTypeCache,
                        ITaskTypeCache taskTypeCache,
                        IWorkRoleCache workRoleCache,
                        IRouteCache routeCache,
                        IOutletCache outletCache)
 {
     _routeRepository            = routeRepository;
     _workerRepository           = workerRepository;
     _taskRepository             = taskRepository;
     _eventRepository            = eventRepository;
     _articleRepository          = articleRepository;
     _inBoxRepository            = inBoxRepository;
     _outBoxRepository           = outBoxRepository;
     _preRouteRepository         = preRouteRepository;
     _preRouteWorkerRepository   = preRouteWorkerRepository;
     _preRouteTaskRepository     = preRouteTaskRepository;
     _preVehicleWorkerRepository = preVehicleWorkerRepository;
     _articleRecordRepository    = articleRecordRepository;
     _boxRecordRepository        = boxRecordRepository;
     _routeTypeCache             = routeTypeCache;
     _taskTypeCache = taskTypeCache;
     _workRoleCache = workRoleCache;
     _routeCache    = routeCache;
     _outletCache   = outletCache;
 }