示例#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();
 }