static void Gegevensgeneratie() { rawMaterials = ip.GenerateRawMaterials(); beertype = ip.GenerateBeerType(); productieCluster = ip.GenerateProductionCluster(); it = ip.FixIT(); marketing = ip.FixMarketing(); }
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); }
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(); }