Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            flowerCalculator = new FlowerCalculator();
            stemCalculator   = new StemCalculator();
            seedCalculator   = new SeedCalculator();
            flowerSeeder     = new FlowerFormulaSeeder(flowerCalculator);
            stemSeeder       = new StemFormulaSeeder(stemCalculator);
            seedSeeder       = new SeedStorageSeeder(seedCalculator);
            catalog          = new Catalog();

            //ReseedFormulas();

            catalog.Reseed();
            seedSeeder.Reseed();

            //LoopForFlowerOrStemType();

            var currentPlants = Guesser.CurrentPlants;

            currentPlants.AddRange(Guesser.GetPlantsFromSeedStorage());
            ReportUntestedPlantFormulasForCurrentPlants(currentPlants);

            //ReportUntestedSeedsInStorage();

            ReportUntestedPlants();

            //ReportFormulasForMissingResults();
        }
Ejemplo n.º 2
0
 public SeedStorageSeeder(SeedCalculator seedCalculator)
 {
     this.calculator = seedCalculator;
 }