protected TabellarischReportControllerBase(ITabellarischeReportControllerBaseDependencies tabellarischeReportControllerBaseDependencies)
 {
     serverReportGenerator   = tabellarischeReportControllerBaseDependencies.ServerReportGenerator;
     reportControllerService = tabellarischeReportControllerBaseDependencies.ReportControllerService;
     emsgPoProviderService   = tabellarischeReportControllerBaseDependencies.EmsgPoProviderService;
     erfassungsPeriodService = tabellarischeReportControllerBaseDependencies.ErfassungsPeriodService;
     sessionService          = tabellarischeReportControllerBaseDependencies.SessionService;
 }
示例#2
0
 public GISExportController(ITabellarischeReportControllerBaseDependencies tabellarischeReportControllerBaseDependencies,
                            IShapeExportService shapeExportService,
                            IErfassungsPeriodService erfassungsPeriodService,
                            ILocalizationService localizationService) : base(tabellarischeReportControllerBaseDependencies)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.shapeExportService      = shapeExportService;
     this.localizationService     = localizationService;
 }
 public ZustandsspiegelProJahrGrafischeController(
     IGrafischeReportControllerBaseDependencies grafischeReportControllerBaseDependencies,
     IErfassungsPeriodService erfassungsPeriodService,
     ILocalizationService localizationService)
     : base(grafischeReportControllerBaseDependencies)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.localizationService     = localizationService;
 }
示例#4
0
 public ArbeitsmodusService(
     ITransactionScopeProvider transactionScopeProvider,
     IErfassungsPeriodService erfassungsPeriodService,
     IEreignisLogService ereignisLogService
     )
 {
     this.transactionScopeProvider = transactionScopeProvider;
     this.erfassungsPeriodService  = erfassungsPeriodService;
     this.ereignisLogService       = ereignisLogService;
 }
示例#5
0
 public MapInfoProviderBase(IGISReportService gISReportService,
                            ILocalizationService localizationService,
                            IErfassungsPeriodService erfassungsPeriodService,
                            IHistorizationService historizationService)
 {
     this.gISReportService        = gISReportService;
     this.localizationService     = localizationService;
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.historizationService    = historizationService;
 }
示例#6
0
 public AchsenUpdateService(ITransactionScopeProvider transactionScopeProvider, IErfassungsPeriodService erfassungsPeriodService, ISecurityService securityService, IEreignisLogService ereignisLogService, INHibernateConfigurationProvider nHibernateConfigurationProvider, ILocalizationService localizationService, ITimeService timeService)
 {
     this.nHibernateConfigurationProvider = nHibernateConfigurationProvider;
     this.transactionScopeProvider        = transactionScopeProvider;
     this.erfassungsPeriodService         = erfassungsPeriodService;
     this.securityService     = securityService;
     this.ereignisLogService  = ereignisLogService;
     this.localizationService = localizationService;
     this.timeService         = timeService;
 }
 public RealisiertenMassnahmenWertverlustZustandsindexProJahrGrafischeController(
     IGrafischeReportControllerBaseDependencies grafischeReportControllerBaseDependencies,
     IErfassungsPeriodService erfassungsPeriodService,
     IKenngroessenFruehererJahreOverviewService kenngroessenFruehererJahreOverviewService,
     ILocalizationService localizationService)
     : base(grafischeReportControllerBaseDependencies)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.kenngroessenFruehererJahreOverviewService = kenngroessenFruehererJahreOverviewService;
     this.localizationService = localizationService;
 }
示例#8
0
 public HomeController(
     ISecurityService securityService,
     ILocalizationService localizationService,
     IErfassungsPeriodService erfassungsPeriodService,
     IServerConfigurationProvider serverConfigurationProvider)
 {
     this.securityService             = securityService;
     this.localizationService         = localizationService;
     this.erfassungsPeriodService     = erfassungsPeriodService;
     this.serverConfigurationProvider = serverConfigurationProvider;
 }
 public WiederbeschaffungswertUndWertverlustProJahrGrafischeController(
     IGrafischeReportControllerBaseDependencies grafischeReportControllerBaseDependencies,
     IErfassungsPeriodService erfassungsPeriodService,
     IKenngroessenFruehererJahreOverviewService kenngroessenFruehererJahreOverviewService,
     ILocalizationService localizationService)
     : base(grafischeReportControllerBaseDependencies)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.kenngroessenFruehererJahreOverviewService = kenngroessenFruehererJahreOverviewService;
     this.localizationService = localizationService;
 }
示例#10
0
 public ReportControllerService(
     IEmsgPoProviderService emsgPoProviderService,
     IHistorizationService historizationService,
     ILocalizationService localizationService,
     IErfassungsPeriodService erfassungsPeriodService)
 {
     this.emsgPoProviderService   = emsgPoProviderService;
     this.historizationService    = historizationService;
     this.localizationService     = localizationService;
     this.erfassungsPeriodService = erfassungsPeriodService;
 }
 public BenchmarkauswertungControllerBase(
     IGrafischeReportControllerBaseDependencies grafischeReportControllerBaseDependencies,
     IErfassungsPeriodService erfassungsPeriodService,
     IKenngroessenFruehererJahreOverviewService kenngroessenFruehererJahreOverviewService,
     ILocalizationService localizationService)
     : base(grafischeReportControllerBaseDependencies)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.kenngroessenFruehererJahreOverviewService = kenngroessenFruehererJahreOverviewService;
     this.localizationService = localizationService;
 }
 public TabellarischeReportControllerBaseDependencies(
     IServerReportGenerator serverReportGenerator,
     IReportControllerService reportControllerService,
     IEmsgPoProviderService emsgPoProviderService,
     ISessionService sessionService,
     IErfassungsPeriodService erfassungsPeriodService)
 {
     ServerReportGenerator   = serverReportGenerator;
     ReportControllerService = reportControllerService;
     EmsgPoProviderService   = emsgPoProviderService;
     SessionService          = sessionService;
     ErfassungsPeriodService = erfassungsPeriodService;
 }
 public KenngroessenFruehererJahreControllerBase(
     ILocalizationService localizationService,
     IBelastungskategorieService belastungskategorieService,
     IKenngroessenFruehererJahreOverviewService kenngroessenFruehererJahreOverviewService,
     IKenngroessenFruehererJahreService kenngroessenFruehererJahreService,
     IErfassungsPeriodService erfassungsPeriodService
     )
 {
     this.localizationService        = localizationService;
     this.belastungskategorieService = belastungskategorieService;
     this.kenngroessenFruehererJahreOverviewService = kenngroessenFruehererJahreOverviewService;
     this.kenngroessenFruehererJahreService         = kenngroessenFruehererJahreService;
     this.erfassungsPeriodService = erfassungsPeriodService;
 }
        private bool IsValidJahr(IErfassungsPeriodService erfassungsPeriodService, int?jahr)
        {
            if (!jahr.HasValue)
            {
                return(true);
            }

            oldestClosedErfassungsperiod = erfassungsPeriodService.GetOldestClosedErfassungsperiod();
            if (oldestClosedErfassungsperiod == null)
            {
                return(false);
            }

            return(jahr < oldestClosedErfassungsperiod.Erfassungsjahr.Year);
        }
 public JahresabschlussGISService(ITransactionScopeProvider transactionScopeProvider,
                                  IEntityServiceMappingEngine entityServiceMappingEngine,
                                  ISecurityService securityService,
                                  IErfassungsPeriodService erfassungsPeriodService,
                                  IStrassenabschnittGISService strassenabschnittGISService,
                                  IMassnahmenvorschlagCopyService massnahmenvorschlagCopyService,
                                  IServerConfigurationProvider serverConfigurationProvider,
                                  IZustandsabschnittGISService zustandsabschnittGISService)
     : base(transactionScopeProvider, entityServiceMappingEngine, securityService)
 {
     this.erfassungsPeriodService        = erfassungsPeriodService;
     this.strassenabschnittGISService    = strassenabschnittGISService;
     this.massnahmenvorschlagCopyService = massnahmenvorschlagCopyService;
     this.serverConfigurationProvider    = serverConfigurationProvider;
     this.zustandsabschnittGISService    = zustandsabschnittGISService;
 }
 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;
 }
示例#17
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 KenngroessenFruehererJahreModelValidator(
            ILocalizationService localizationService,
            IErfassungsPeriodService erfassungsPeriodService,
            IKenngroessenFruehererJahreService kenngroessenFruehererJahreService
            )
            : base(localizationService)
        {
            RuleFor(m => m.Jahr).NotNull()
            .ShouldNotBeNegative(LocalizationService)
            .InclusiveBetween(1000, 9999)
            .Must(jahr => IsValidJahr(erfassungsPeriodService, jahr))
            .WithMessage(localizationService.GetLocalizedError(ValidationError.InvalidKenngroessenFuehererJahre),
                         k => erfassungsPeriodService.GetOldestClosedErfassungsperiod() == null ? "" : oldestClosedErfassungsperiod.Erfassungsjahr.Year.ToString())
            .Must((m, jahr) => kenngroessenFruehererJahreService.IsJahrUnique(m))
            .WithMessage(localizationService.GetLocalizedError(ValidationError.ShouldBeUnique));

            RuleForNullableDecimal(m => m.KostenFuerWerterhaltung).NotEmpty();
            RuleFor(m => m.KenngroesseFruehereJahrDetailModels)
            .SetCollectionValidator(new KenngroessenFruehererJahreDetailModelValidator(localizationService));
        }
示例#19
0
 public JahresabschlussService(
     ITransactionScopeProvider transactionScopeProvider,
     IErfassungsPeriodService erfassungsPeriodService,
     IStrassenabschnittService strassenabschnittService,
     INetzSummarischService netzSummarischService,
     IStrassenabschnittGISService strassenabschnittGISService,
     ITrottoirZustandService trottoirZustandService,
     ITrottoirZustandGISService trottoirZustandGisService,
     IKatalogCopyService katalogCopyService,
     INetzSummarischDetailService netzSummarischDetailService,
     IInspektionsRouteGISService inspektionsRouteGISService,
     IJahresabschlussGISService jahresabschlussGISService,
     IRealisierteMassnahmeService realisierteMassnahmeService,
     IKoordinierteMassnahmeGISModelService koordinierteMassnahmeGISModelService,
     IRealisierteMassnahmeSummarsichService realisierteMassnahmeSummarsichService,
     IEreignisLogService ereignisLogService,
     IMandantenDetailsCopyService mandantenDetailsCopyService,
     IBenchmarkingDataDetailCalculatorService benchmarkingDataDetailCopyService,
     IMassnahmenvorschlagTeilsystemeGISModelService massnahmenvorschlagTeilsystemeGISModelService,
     IKenngroessenFruehererJahreService kenngroessenFruehererJahreService)
 {
     this.transactionScopeProvider                      = transactionScopeProvider;
     this.erfassungsPeriodService                       = erfassungsPeriodService;
     this.strassenabschnittService                      = strassenabschnittService;
     this.netzSummarischService                         = netzSummarischService;
     this.strassenabschnittGISService                   = strassenabschnittGISService;
     this.trottoirZustandService                        = trottoirZustandService;
     this.trottoirZustandGisService                     = trottoirZustandGisService;
     this.katalogCopyService                            = katalogCopyService;
     this.netzSummarischDetailService                   = netzSummarischDetailService;
     this.jahresabschlussGISService                     = jahresabschlussGISService;
     this.inspektionsRouteGISService                    = inspektionsRouteGISService;
     this.realisierteMassnahmeService                   = realisierteMassnahmeService;
     this.realisierteMassnahmeSummarsichService         = realisierteMassnahmeSummarsichService;
     this.ereignisLogService                            = ereignisLogService;
     this.mandantenDetailsCopyService                   = mandantenDetailsCopyService;
     this.benchmarkingDataDetailCopyService             = benchmarkingDataDetailCopyService;
     this.koordinierteMassnahmeGISModelService          = koordinierteMassnahmeGISModelService;
     this.massnahmenvorschlagTeilsystemeGISModelService = massnahmenvorschlagTeilsystemeGISModelService;
     this.kenngroessenFruehererJahreService             = kenngroessenFruehererJahreService;
 }
示例#20
0
 public ListeDerInspektionsroutenMapProvider(IGISReportService gISReportService, ILocalizationService localizationService, IErfassungsPeriodService erfassungsPeriodService, IHistorizationService historizationService)
     : base(gISReportService, localizationService, erfassungsPeriodService, historizationService)
 {
 }
示例#21
0
 public BenchmarkauswertungInventarkennwertenController(IGrafischeReportControllerBaseDependencies grafischeReportControllerBaseDependencies, IErfassungsPeriodService erfassungsPeriodService, IKenngroessenFruehererJahreOverviewService kenngroessenFruehererJahreOverviewService, ILocalizationService localizationService) : base(grafischeReportControllerBaseDependencies, erfassungsPeriodService, kenngroessenFruehererJahreOverviewService, localizationService)
 {
 }
 public StrassenabschnitteListeMapProvider(IGISReportService gISReportService, ILocalizationService localizationService, IErfassungsPeriodService erfassungsPeriodService, IHistorizationService historizationService, IBelastungskategorieService belastungskategorieService)
     : base(gISReportService, localizationService, erfassungsPeriodService, historizationService)
 {
     this.belastungskategorieService = belastungskategorieService;
 }
示例#23
0
 public AvailabiltyService(IErfassungsPeriodService erfassungsPeriodService)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     Init();
 }
示例#24
0
 public GISExportMapProvider(IGISReportService gISReportService, ILocalizationService localizationService,
                             IErfassungsPeriodService erfassungsPeriodService,
                             IHistorizationService historizationService)
     : base(gISReportService, localizationService, erfassungsPeriodService, historizationService)
 {
 }
 public EineListeVonKoordiniertenMassnahmenMapProvider(IGISReportService gISReportService, ILocalizationService localizationService, IErfassungsPeriodService erfassungsPeriodService, IHistorizationService historizationService, IBelastungskategorieService belastungskategorieService)
     : base(gISReportService, localizationService, erfassungsPeriodService, historizationService)
 {
 }
示例#26
0
 public KenngroessenFruehererJahreController(ILocalizationService localizationService, IBelastungskategorieService belastungskategorieService, IKenngroessenFruehererJahreOverviewService kenngroessenFruehererJahreOverviewService, IKenngroessenFruehererJahreService kenngroessenFruehererJahreService, IErfassungsPeriodService erfassungsPeriodService) : base(localizationService, belastungskategorieService, kenngroessenFruehererJahreOverviewService, kenngroessenFruehererJahreService, erfassungsPeriodService)
 {
 }
示例#27
0
 public ZustandProZustandsabschnittMapProvider(IGISReportService gISReportService, ILocalizationService localizationService, IErfassungsPeriodService erfassungsPeriodService, IHistorizationService historizationService)
     : base(gISReportService, localizationService, erfassungsPeriodService, historizationService)
 {
 }
示例#28
0
 public ErfassungsPeriodFilterBuilder(IHistorizationService historizationService, IErfassungsPeriodService erfassungsPeriodService)
 {
     this.historizationService    = historizationService;
     this.erfassungsPeriodService = erfassungsPeriodService;
 }
 public EineListeVonMassnahmenGegliedertNachTeilsystemenMapProvider(IGISReportService gISReportService, ILocalizationService localizationService, IErfassungsPeriodService erfassungsPeriodService, IHistorizationService historizationService)
     : base(gISReportService, localizationService, erfassungsPeriodService, historizationService)
 {
 }
示例#30
0
 public HistorizationService(IErfassungsPeriodService erfassungsPeriodService, ITimeService timeService)
 {
     this.erfassungsPeriodService = erfassungsPeriodService;
     this.timeService             = timeService;
 }