private void ClassGeneralReportResults( ReportCounterManager <ClassCounter> results) { string writeName = $"ClsReport_Gen_{this.CurrentDate}.csv"; string faultMessage = "ReportBuilder: Failed to write General Cls Report."; results.WriteCSVFile( writeName, faultMessage); }
private void SingleClassGeneralLocationReportResults( ReportCounterManager <LocationCounter> results, string cls) { string writeName = $"{cls}_Report_{this.CurrentDate}.csv"; string faultMessage = $"ReportBuilder: Failed to write General {cls} Report."; results.WriteCSVFile( writeName, faultMessage); }
private void ClassSingleYearReportResults( ReportCounterManager <YearCounter> results, string year) { string writeName = $"ClsReport_{year}_{this.CurrentDate}.csv"; string faultMessage = $"ReportBuilder: Failed to write Annual Cls Report for {year}."; results.WriteCSVFile( writeName, faultMessage); }
/// <summary> /// Write a single location general report to a file. /// </summary> /// <param name="results">results to write</param> /// <param name="location">report location </param> private void SingleLocationGeneralReport( ReportCounterManager <LocationCounter> results, string location) { string writeName = $"{location}_Report_Gen_{this.CurrentDate}.csv"; string faultMessage = $"ReportBuilder: ReportBuilder: Failed to write General Stn Report for {location}."; results.WriteCSVFile( writeName, faultMessage); }
/// <summary> /// Write a locations single year report to a file. /// </summary> /// <param name="results">results to write</param> /// <param name="year">report year</param> private void LocationsYearReport( ReportCounterManager <LocationCounter> results, string year) { string writeName = $"StnReport_{year}_{this.CurrentDate}.csv"; string faultMessage = $"ReportBuilder: ReportBuilder: Failed to write Annual Stn Report for {year}."; results.WriteCSVFile( writeName, faultMessage); }
/// <summary> /// Write the location general report to a file. /// </summary> /// <param name="results">results to write</param> private void LocationsGeneralReport(ReportCounterManager <LocationCounter> results) { results.WriteCSVFile( $"StnReport_Gen_{this.CurrentDate}.csv", "ReportBuilder: Failed to write General Stn Report."); }