Пример #1
0
 public TqmsMasterFacadeService(
     ISingleRecordRepository <TqmsMaster> tqmsMasterRepository,
     ITransactionManager transactionManager)
     : base(tqmsMasterRepository, transactionManager)
 {
     this.tqmsMasterRepository = tqmsMasterRepository;
 }
 public ProductionMeasuresReportFacade(
     IRepository <ProductionMeasures, string> productionMeasuresRepository,
     ISingleRecordRepository <PtlMaster> ptlMasterRepository,
     ISingleRecordRepository <OsrRunMaster> osrRunMasterRepository)
 {
     this.productionMeasuresRepository = productionMeasuresRepository;
     this.ptlMasterRepository          = ptlMasterRepository;
     this.osrRunMasterRepository       = osrRunMasterRepository;
 }
Пример #3
0
 public WorkstationService(
     ISingleRecordRepository <PtlMaster> ptlMasterRepository,
     IRepository <TopUpListJobRef, string> topUpListJobRefRepository,
     IWorkstationPack workstationPack)
 {
     this.ptlMasterRepository       = ptlMasterRepository;
     this.topUpListJobRefRepository = topUpListJobRefRepository;
     this.workstationPack           = workstationPack;
 }
Пример #4
0
 public void SetUpContext()
 {
     this.ProductionMeasuresReportService = Substitute.For <IProductionMeasuresReportService>();
     this.ProductionMeasuresRepository    = Substitute.For <IRepository <ProductionMeasures, string> >();
     this.PtlMasterRepository             = Substitute.For <ISingleRecordRepository <PtlMaster> >();
     this.OsrRunMasterRepository          = Substitute.For <ISingleRecordRepository <OsrRunMaster> >();
     this.Sut = new ProductionMeasuresReportFacade(
         this.ProductionMeasuresRepository,
         this.PtlMasterRepository,
         this.OsrRunMasterRepository,
         this.ProductionMeasuresReportService);
 }
 public ShortageSummaryReportService(IRepository <AccountingCompany, string> accountingCompaniesRepository,
                                     ISingleRecordRepository <PtlMaster> masterRepository, IQueryRepository <ProductionTrigger> repository,
                                     IRepository <Cit, string> citRepository, IQueryRepository <ProductionBackOrder> backOrderRepository,
                                     IQueryRepository <WswShortage> shortageRepository, IQueryRepository <WswShortageStory> shortageStoryRepository)
 {
     this.accountingCompaniesRepository = accountingCompaniesRepository;
     this.masterRepository        = masterRepository;
     this.triggerRepository       = repository;
     this.citRepository           = citRepository;
     this.backOrderRepository     = backOrderRepository;
     this.shortageRepository      = shortageRepository;
     this.shortageStoryRepository = shortageStoryRepository;
 }
 public ProductionTriggersFacadeService(
     IQueryRepository <ProductionTrigger> repository,
     IRepository <Cit, string> citRepository,
     ISingleRecordRepository <PtlMaster> masterRepository,
     IRepository <WorksOrder, int> worksOrderRepository,
     IQueryRepository <ProductionBackOrder> productionBackOrderRepository,
     IRepository <AccountingCompany, string> accountingCompaniesRepository,
     IQueryRepository <ProductionTriggerAssembly> productionTriggerAssemblyRepository)
 {
     this.repository                          = repository;
     this.citRepository                       = citRepository;
     this.masterRepository                    = masterRepository;
     this.worksOrderRepository                = worksOrderRepository;
     this.productionBackOrderRepository       = productionBackOrderRepository;
     this.accountingCompaniesRepository       = accountingCompaniesRepository;
     this.productionTriggerAssemblyRepository = productionTriggerAssemblyRepository;
 }
Пример #7
0
 public PtlSettingsFacadeService(ISingleRecordRepository <PtlSettings> repository, ITransactionManager transactionManager)
     : base(repository, transactionManager)
 {
 }