示例#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;
        }
示例#2
0
 public AffairAppService(IRepository <Affair> affairRepository,
                         IRepository <AffairWorker> workerRepository,
                         IRepository <AffairTask> taskRepository,
                         IRepository <AffairEvent> eventRepository,
                         IWorkRoleCache workRoleCache,
                         IAffairCache affairCache)
 {
     _affairRepository = affairRepository;
     _workerRepository = workerRepository;
     _taskRepository   = taskRepository;
     _eventRepository  = eventRepository;
     _workRoleCache    = workRoleCache;
     _affairCache      = affairCache;
 }
示例#3
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;
 }
示例#4
0
        public WorkManager(IWorkerCache workerCache,
                           IVehicleCache vehicleCache,
                           IWorkplaceCache workplaceCache,
                           IWorkRoleCache workRoleCache,
                           IDepotCache depotCache,
                           IArticleCache articleCache,
                           IPostCache postCache,
                           IBoxCache boxCache,
                           IOutletCache outletCache,
                           ISigninCache signinCache,
                           IRepository <Signin> signinRepository,
                           IAffairCache affairCache,
                           IRepository <Affair> affairRepository,
                           IRepository <AffairWorker> affairWorkerRepository,
                           IRepository <AffairTask> affairTaskRepository,
                           IRepository <AffairEvent> affairEventRepository,
                           IRepository <AskDoorRecord> askdoorRepository)
        {
            _workerCache    = workerCache;
            _vehicleCache   = vehicleCache;
            _workplaceCache = workplaceCache;
            _workRoleCache  = workRoleCache;
            _depotCache     = depotCache;
            _articleCache   = articleCache;
            _postCache      = postCache;
            _boxCache       = boxCache;
            _outletCache    = outletCache;

            _signinCache      = signinCache;
            _signinRepository = signinRepository;

            _affairCache            = affairCache;
            _affairRepository       = affairRepository;
            _affairWorkerRepository = affairWorkerRepository;
            _affairTaskRepository   = affairTaskRepository;
            _affairEventRepository  = affairEventRepository;

            _askdoorRepository = askdoorRepository;
        }
示例#5
0
 public FieldAppService(IDepotCache depotCache,
                        IWorkplaceCache workplaceCache,
                        IWorkerCache workerCache,
                        IVehicleCache vehicleCache,
                        IPostCache postCache,
                        IWorkRoleCache workRoleCache,
                        IGasStationCache gasStationCache,
                        IRepository <Worker> workerRepository,
                        IRepository <WorkerFile> workerFileRepository,
                        IRepository <Asset> assetRepository)
 {
     _depotCache           = depotCache;
     _workplaceCache       = workplaceCache;
     _workerCache          = workerCache;
     _vehicleCache         = vehicleCache;
     _postCache            = postCache;
     _workRoleCache        = workRoleCache;
     _gasStationCache      = gasStationCache;
     _workerRepository     = workerRepository;
     _workerFileRepository = workerFileRepository;
     _assetRepository      = assetRepository;
 }
示例#6
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;
 }