Ejemplo n.º 1
0
        public ExcelDataImportDirector(FileInfo fileInfo, ExcelDataImportType importType)
        {
            _importType = importType;
            switch (_importType)
            {
            case ExcelDataImportType.WriteOffAmount:
                _excelData = new WriteOffAmountExcelData(fileInfo);
                break;

            case ExcelDataImportType.ReinvestmentCost:
                _excelData = new ReinvestmentCostExcelData(fileInfo);
                break;

            case ExcelDataImportType.RenewalTool:
                _excelData = new RenewalToolExcelData(fileInfo);
                break;

            case ExcelDataImportType.RenewalAnalysis:
                _excelData = new RenewalAnalysisExcelData(fileInfo);
                break;

            case ExcelDataImportType.ClosureWOCheckList:
                _excelData = new ClosureWOCheckListExcelData(fileInfo);
                break;

            case ExcelDataImportType.FinancialPreAnalysis:
                _excelData = new FinancialPreAnalysisExcelData(fileInfo);
                break;
            }
        }
Ejemplo n.º 2
0
 public ExcelDataInputDirector(ExcelDataBase excelData)
 {
     _excelData = excelData;
 }
Ejemplo n.º 3
0
        public ExcelDataInputDirector(FileInfo fileInfo, ExcelDataInputType outputType)
        {
            _outputType = outputType;
            switch (_outputType)
            {
            case ExcelDataInputType.WriteOffAmount:
                _excelData = new WriteOffAmountExcelData(fileInfo);
                break;

            case ExcelDataInputType.ReinvestmentCost:
                _excelData = new ReinvestmentCostExcelData(fileInfo);
                break;

            case ExcelDataInputType.MajorLeaseChangeCover:
                _excelData = new MajorLeaseChangeCoverExcelData(fileInfo);
                break;

            case ExcelDataInputType.RebuildCover:
                _excelData = new RebuildCoverExcelData(fileInfo);
                break;

            case ExcelDataInputType.ClosureWOCheckList:
                _excelData = new ClosureWOCheckListExcelData(fileInfo);
                break;

            case ExcelDataInputType.ClosureTool:
                _excelData = new ClosureToolExcelData(fileInfo);
                break;

            case ExcelDataInputType.ClosureExecutiveSummary:
                _excelData = new ClosureExecutiveSummaryExcelData(fileInfo);
                break;

            case ExcelDataInputType.ReimageSummary:
                _excelData = new ReimageSummaryExcelData(fileInfo);
                break;

            case ExcelDataInputType.RenewalLLNegotiationRecord:
                _excelData = new RenewalLLNegotiationRecordData(fileInfo);
                break;

            case ExcelDataInputType.RenewalAnalysis:
                _excelData = new RenewalAnalysisExcelData(fileInfo);
                break;

            case ExcelDataInputType.RenewalTool:
                _excelData = new RenewalToolExcelData(fileInfo);
                break;

            case ExcelDataInputType.RenewalCover:
                _excelData = new RenewalCoverExcelData(fileInfo);
                break;

            case ExcelDataInputType.CommentsList:
                _excelData = new CommentsListExcelData(fileInfo);
                break;

            case ExcelDataInputType.ClosureCover:
                _excelData = new ClosureCoverExcelData(fileInfo);
                break;

            case ExcelDataInputType.ReimageCover:
                _excelData = new ReimageCoverExcelData(fileInfo);
                break;

            case ExcelDataInputType.TempClosureCover:
                _excelData = new TempClosureCoverExcelData(fileInfo);
                break;
            }
        }
Ejemplo n.º 4
0
 public ExcelDataImportDirector(ExcelDataBase excelData)
 {
     _excelData = excelData;
 }