예제 #1
0
 static void Gegevensgeneratie()
 {
     rawMaterials     = ip.GenerateRawMaterials();
     beertype         = ip.GenerateBeerType();
     productieCluster = ip.GenerateProductionCluster();
     it        = ip.FixIT();
     marketing = ip.FixMarketing();
 }
예제 #2
0
        public IT FixIT()
        {
            StreamReader sr = new StreamReader("it.csv");
            string       invoer;

            invoer = sr.ReadLine();
            invoer = sr.ReadLine();
            string[] readedLine;
            readedLine = invoer.Replace('.', ',').Split(';');
            it         = new IT(readedLine);
            return(it);
        }
예제 #3
0
 public UitvoerCalculator(List <RawMaterials> rw, List <BeerType> bt, List <ProductieClusters> pcl, IT newit, Marketing mark)
 {
     it           = newit;
     marketing    = mark;
     rawMaterials = rw;
     beertype     = bt;
     PCL          = pcl;
     DoWeHaveToProduce();
     ExtraCosts();
     foreach (BeerType b in bt)
     {
         totaalproduced += (b.producedforBE + b.producedforNL + b.producedforSW);
     }
     PrettyPrintingResults();
 }