Example #1
0
        private int FillTotalDeckAreaSection(ExcelWorksheet worksheet, CurrentCell currentCell, List <int> simulationYears, List <SimulationDataModel> simulationDataModels)
        {
            bridgeWorkSummaryCommon.AddBridgeHeaders(worksheet, currentCell, simulationYears, "Total Deck Area", true);
            var totalDeckAreaSectionYearsRow = currentCell.Row;

            AddDetailsForTotalDeckArea(worksheet, currentCell, simulationYears, simulationDataModels);
            return(totalDeckAreaSectionYearsRow);
        }
Example #2
0
        private int FillNonNHSDeckAreaSection(ExcelWorksheet worksheet, CurrentCell currentCell, List <int> simulationYears,
                                              int totalDeckAreaSectionStartRow, int nHSDeckAreaSectionStartRow, ChartRowsModel chartRowsModel)
        {
            bridgeWorkSummaryCommon.AddBridgeHeaders(worksheet, currentCell, simulationYears, "Non-NHS Deck Area", true);
            var dataStartRow = currentCell.Row + 1;

            AddDetailsForNonNHSCountAndArea(worksheet, currentCell, simulationYears, totalDeckAreaSectionStartRow, nHSDeckAreaSectionStartRow, true);
            return(dataStartRow);
        }
        private int FillTotalDeckAreaPercent(ExcelWorksheet worksheet, CurrentCell currentCell, List <int> simulationYears, int dataStartRow)
        {
            bridgeWorkSummaryCommon.AddBridgeHeaders(worksheet, currentCell, simulationYears, "Total Deck Area Percentage", true);
            var totalDeckAreaPercentYearsRow = currentCell.Row;

            AddDetailsForTotalBridgeAndDeckPercent(worksheet, currentCell, simulationYears, dataStartRow);
            return(totalDeckAreaPercentYearsRow);
        }
Example #4
0
 private void FillNHSBridgeDeckAreaPercentSection(ExcelWorksheet worksheet, CurrentCell currentCell, List <int> simulationYears, int dataStartRow, ChartRowsModel chartRowsModel)
 {
     bridgeWorkSummaryCommon.AddBridgeHeaders(worksheet, currentCell, simulationYears, "NHS Bridge Deck Area %", true);
     chartRowsModel.NHSBridgeDeckAreaPercentSectionYearsRow = currentCell.Row;
     AddDetailsForNHSPercentSection(worksheet, currentCell, simulationYears, dataStartRow);
 }