Beispiel #1
0
 public SummaryReportBridgeData(IBridgeData bridgeData, BridgeDataHelper bridgeDataHelper, ExcelHelper excelHelper,
                                HighlightWorkDoneCells highlightWorkDoneCells, ParametersModel parametersModel)
 {
     this.bridgeData             = bridgeData;
     this.bridgeDataHelper       = bridgeDataHelper;
     this.excelHelper            = excelHelper;
     this.highlightWorkDoneCells = highlightWorkDoneCells;
     this.parametersModel        = parametersModel;
 }
Beispiel #2
0
 public BridgeWorkSummary(CostBudgetsWorkSummary costBudgetsWorkSummary, BridgesCulvertsWorkSummary bridgesCulvertsWorkSummary,
                          BridgeRateDeckAreaWorkSummary bridgeRateDeckAreaWorkSummary, IBridgeWorkSummaryData bridgeWorkSummaryData,
                          NHSBridgeDeckAreaWorkSummary nhsBridgeDeckAreaWorkSummary, PostedClosedBridgeWorkSummary postedClosedBridgeWorkSummary,
                          DeckAreaBridgeWorkSummary deckAreaBridgeWorkSummary, IWorkSummaryByBudget summaryByBudget, IBridgeData bridgeData)
 {
     this.costBudgetsWorkSummary        = costBudgetsWorkSummary ?? throw new ArgumentNullException(nameof(costBudgetsWorkSummary));
     this.bridgesCulvertsWorkSummary    = bridgesCulvertsWorkSummary ?? throw new ArgumentNullException(nameof(bridgesCulvertsWorkSummary));
     this.bridgeRateDeckAreaWorkSummary = bridgeRateDeckAreaWorkSummary ?? throw new ArgumentNullException(nameof(bridgeRateDeckAreaWorkSummary));
     this.bridgeWorkSummaryData         = bridgeWorkSummaryData ?? throw new ArgumentNullException(nameof(bridgeWorkSummaryData));
     this.nhsBridgeDeckAreaWorkSummary  = nhsBridgeDeckAreaWorkSummary ?? throw new ArgumentNullException(nameof(nhsBridgeDeckAreaWorkSummary));
     this.postedClosedBridgeWorkSummary = postedClosedBridgeWorkSummary ?? throw new ArgumentNullException(nameof(postedClosedBridgeWorkSummary));
     this.deckAreaBridgeWorkSummary     = deckAreaBridgeWorkSummary ?? throw new ArgumentNullException(nameof(deckAreaBridgeWorkSummary));
     workSummaryByBudgetData            = summaryByBudget ?? throw new ArgumentNullException(nameof(summaryByBudget));
     this.bridgeData = bridgeData ?? throw new ArgumentNullException(nameof(bridgeData));
 }
Beispiel #3
0
        public BridgeWorkSummaryByBudget(BridgeCareContext context, IWorkSummaryByBudget summaryByBudget,
                                         ExcelHelper excelHelper, BridgeWorkSummaryCommon bridgeWorkSummaryCommon, IBridgeData bridgeData, IBridgeWorkSummaryData bridgeWorkSummaryData,
                                         CulvertCost culvertCost, BridgeWorkCost bridgeWorkCost, CommittedProjectsCost committedProjectsCost)
        {
            workSummaryByBudgetData      = summaryByBudget;
            this.excelHelper             = excelHelper;
            this.bridgeWorkSummaryCommon = bridgeWorkSummaryCommon ?? throw new ArgumentNullException(nameof(bridgeWorkSummaryCommon));
            this.bridgeData            = bridgeData ?? throw new ArgumentNullException(nameof(bridgeData));
            this.bridgeWorkSummaryData = bridgeWorkSummaryData ?? throw new ArgumentNullException(nameof(bridgeWorkSummaryData));

            this.culvertCost           = culvertCost ?? throw new ArgumentNullException(nameof(culvertCost));
            this.bridgeWorkCost        = bridgeWorkCost ?? throw new ArgumentNullException(nameof(bridgeWorkCost));
            this.committedProjectsCost = committedProjectsCost ?? throw new ArgumentNullException(nameof(committedProjectsCost));

            dbContext = context ?? throw new ArgumentNullException(nameof(context));
        }
Beispiel #4
0
 public SummaryReportController(IBridgeData repo, BridgeCareContext db, ISummaryReportGenerator summaryReportGenerator)
 {
     this.repo = repo;
     this.db   = db;
     this.summaryReportGenerator = summaryReportGenerator;
 }
Beispiel #5
0
 public SummaryReportBridgeData(IBridgeData bridgeData, BridgeDataHelper bridgeDataHelper, ExcelHelper excelHelper)
 {
     this.bridgeData       = bridgeData;
     this.bridgeDataHelper = bridgeDataHelper;
     this.excelHelper      = excelHelper;
 }