Пример #1
0
 static void Gegevensgeneratie()
 {
     rawMaterials     = ip.GenerateRawMaterials();
     beertype         = ip.GenerateBeerType();
     productieCluster = ip.GenerateProductionCluster();
     it        = ip.FixIT();
     marketing = ip.FixMarketing();
 }
Пример #2
0
        public Marketing FixMarketing()
        {
            StreamReader sr = new StreamReader("marketing.csv");
            string       invoer;

            invoer = sr.ReadLine();
            invoer = sr.ReadLine();
            string[] readedLine;
            readedLine = invoer.Replace('.', ',').Split(';');
            marketing  = new Marketing(readedLine);
            return(marketing);
        }
Пример #3
0
        public HumanR(string[] invoer, Marketing mt)
        {
            lowadm = (int)(mt.belban + mt.belcom + mt.frban + mt.frcom + mt.netban + mt.netcom + mt.swban + mt.swcom);


            totalcost        = 0;
            costlowprodgen   = double.Parse(invoer[0]);
            costhighprodgen  = double.Parse(invoer[1]);
            costlowprodspec  = double.Parse(invoer[2]);
            costhighprodspec = double.Parse(invoer[3]);
            costlowadm       = double.Parse(invoer[4]);
            costhighadm      = double.Parse(invoer[5]);
            highadm          = int.Parse(invoer[6]);
        }
Пример #4
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();
 }