Beispiel #1
0
        public Filler( DataStore.MainInterface storeToFill  )
        {
            dataStore = storeToFill;

            DateTime basis = DateTime.UtcNow;
            Enumerable.Range(0, 100).ToList().ForEach(_ =>
            {
                dates.Add(basis);
                basis = basis.Add(new TimeSpan(1, rng.Next(0, 3), rng.Next(0, 2), rng.Next(0, 2)));
            });
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            DataStore.MainInterface dataStore = new DataStore.MainInterface();

            FillDataStore.Filler dataGenerator = new FillDataStore.Filler(dataStore);

            dataGenerator.DoIt(20);

            AnalysisModuleTaskX.Implementation impl = new AnalysisModuleTaskX.Implementation();

            impl.FetchData(dataStore);
            impl.Calculate();

            Console.ReadKey();
        }
Beispiel #3
0
 public void Setup()
 {
     dataStore = new DataStore.MainInterface();
     FillDataStore.Filler dataGenerator = new FillDataStore.Filler(dataStore);
     dataGenerator.DoIt(20);
 }