Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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);
        }
Beispiel #4
0
        /// <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);
        }
Beispiel #5
0
        /// <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);
        }
Beispiel #6
0
 /// <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.");
 }