Skip to content
Permalink
87ae42c3da
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
33 lines (26 sloc) 993 Bytes
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using DataScraperGUI.Infrastructure;
namespace DataScraperGUI.Programs {
public class NormalProgram : Program {
// Constants
public const string OutputFilename = @"~/csv/normal_program.csv";
private StringBuilder sb;
public NormalProgram (Logger l, ProgressBar p) : base(l, p) { }
public override void Execute() {
logger.LogMessage("Starting the 'Normal' program.");
// Setup Simulation
sb = new StringBuilder();
GenerateHeader(); // Write the CSV header
logger.LogError("This program has not yet been implemented.");
logger.LogMessage("Ending the 'Normal' program.");
progressBar.Value = 100;
}
private void GenerateHeader () {
sb.AppendLine();
}
}
}