Пример #1
0
 public BenchmarkingDataDetailCalculatorService(
     IMandantDetailsService mandantDetailsService,
     INetzSummarischDetailService netzSummarischDetailService,
     IBelastungskategorieService belastungskategorieService,
     IStrassenabschnittService strassenabschnittService,
     IStrassenabschnittGISService strassenabschnittGISService,
     ITransactionScopeProvider transactionScopeProvider,
     IWiederbeschaffungswertKatalogService wiederbeschaffungswertKatalogService,
     IZustandsabschnittService zustandsabschnittService,
     IZustandsabschnittGISService zustandsabschnittGISService,
     IRealisierteMassnahmeSummarsichService realisierteMassnahmeSummarsichService,
     IRealisierteMassnahmeService realisierteMassnahmeService,
     IRealisierteMassnahmeGISModelService realisierteMassnahmeGISModelService,
     ITimeService timeService
     )
 {
     this.mandantDetailsService                 = mandantDetailsService;
     this.netzSummarischDetailService           = netzSummarischDetailService;
     this.belastungskategorieService            = belastungskategorieService;
     this.strassenabschnittService              = strassenabschnittService;
     this.strassenabschnittGISService           = strassenabschnittGISService;
     this.transactionScopeProvider              = transactionScopeProvider;
     this.wiederbeschaffungswertKatalogService  = wiederbeschaffungswertKatalogService;
     this.zustandsabschnittService              = zustandsabschnittService;
     this.zustandsabschnittGISService           = zustandsabschnittGISService;
     this.realisierteMassnahmeSummarsichService = realisierteMassnahmeSummarsichService;
     this.realisierteMassnahmeService           = realisierteMassnahmeService;
     this.realisierteMassnahmeGISModelService   = realisierteMassnahmeGISModelService;
     this.timeService = timeService;
 }
Пример #2
0
 public AchsenEditModeController(
     IMandantenService mandantenService,
     IMandantDetailsService mandantDetailsService
     )
 {
     this.mandantenService      = mandantenService;
     this.mandantDetailsService = mandantDetailsService;
 }
 public BenchmarkingGruppenService(
     ITransactionScopeProvider transactionScopeProvider,
     IMandantDetailsService mandantDetailsService,
     IBenchmarkingGruppenConfigurationService benchmarkingGruppenConfigurationService)
 {
     this.transactionScopeProvider = transactionScopeProvider;
     this.mandantDetailsService    = mandantDetailsService;
     this.benchmarkingGruppenConfigurationService = benchmarkingGruppenConfigurationService;
 }
Пример #4
0
 public MandantDetailsController(
     IMandantDetailsService mandantDetailsService,
     IGemeindeKatalogService gemeindeKatalogService,
     IOeffentlicheVerkehrsmittelKatalogService oeffentlicheVerkehrsmittelKatalogService,
     ILocalizationService localizationService)
 {
     this.mandantDetailsService  = mandantDetailsService;
     this.gemeindeKatalogService = gemeindeKatalogService;
     this.oeffentlicheVerkehrsmittelKatalogService = oeffentlicheVerkehrsmittelKatalogService;
     this.localizationService = localizationService;
 }
Пример #5
0
        public ErfassungsabschlussModelValidator(
            ILocalizationService localizationService,
            IHistorizationService historizationService,
            IStrassenabschnittGISService strassenabschnittGISService,
            IMandantDetailsService mandantDetailsService)
            : base(localizationService)
        {
            var availabledDates = historizationService.GetAvailableErfassungsabschlussen().Select(x => x.AbschlussDate).ToList();

            RuleFor(m => m.AbschlussDate).ExclusiveBetween(availabledDates.First().AddDays(-1), availabledDates.Last().AddDays(1));
            RuleFor(m => m.AbschlussDate).Must((m, p) => !strassenabschnittGISService.AreThereLockedStrassenabschnitte()).WithMessage(localizationService.GetLocalizedError(ValidationError.JahresAbschlussStrassenabschnittLocked));
            RuleFor(m => m.AbschlussDate).Must((m, p) => mandantDetailsService.GetCurrentMandantDetails().IsCompleted);
        }
Пример #6
0
 public MandantenDetailsCopyService(
     IMandantDetailsService mandantDetailsService,
     INetzSummarischDetailService netzSummarischDetailService,
     IStrassenabschnittService strassenabschnittService,
     IStrassenabschnittGISService strassenabschnittGISService,
     ITransactionScopeProvider transactionScopeProvider)
 {
     this.mandantDetailsService       = mandantDetailsService;
     this.netzSummarischDetailService = netzSummarischDetailService;
     this.strassenabschnittService    = strassenabschnittService;
     this.strassenabschnittGISService = strassenabschnittGISService;
     this.transactionScopeProvider    = transactionScopeProvider;
 }
 public ErfassungsPeriodAbschlussController(
     IHistorizationService historizationService,
     IJahresabschlussService jahresabschlussService,
     IStrassenabschnittService strassenabschnittService,
     IStrassenabschnittGISService strassenabschnittGisService,
     IMandantDetailsService mandantDetailsService,
     IAchsenSegmentService achsenSegmentService,
     IErfassungsPeriodService erfassungsPeriodService
     )
 {
     this.historizationService        = historizationService;
     this.jahresabschlussService      = jahresabschlussService;
     this.strassenabschnittService    = strassenabschnittService;
     this.strassenabschnittGisService = strassenabschnittGisService;
     this.mandantDetailsService       = mandantDetailsService;
     this.achsenSegmentService        = achsenSegmentService;
     this.erfassungsPeriodService     = erfassungsPeriodService;
 }
Пример #8
0
 public HeaderController(
     IMandantDetailsService mandantDetailsService,
     ISecurityService securityService,
     IPermissionService permissionService,
     IErfassungsPeriodService erfassungsPeriodService,
     ICookieService cookieService,
     IHttpRequestCacheService httpRequestCacheService,
     IApplicationSupporterService applicationSupporterService,
     IServerConfigurationProvider serverConfigurationProvider)
 {
     this.mandantDetailsService       = mandantDetailsService;
     this.securityService             = securityService;
     this.permissionService           = permissionService;
     this.erfassungsPeriodService     = erfassungsPeriodService;
     this.cookieService               = cookieService;
     this.httpRequestCacheService     = httpRequestCacheService;
     this.applicationSupporterService = applicationSupporterService;
     this.serverConfigurationProvider = serverConfigurationProvider;
 }
 public ArbeitsmodusWechselnController(IArbeitsmodusService arbeitsmodusService, IMandantDetailsService mandantDetailsService)
 {
     this.arbeitsmodusService   = arbeitsmodusService;
     this.mandantDetailsService = mandantDetailsService;
 }