Esempio n. 1
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;
 }
Esempio n. 2
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;
        }
Esempio n. 3
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;
 }