Exemple #1
0
        public ProductieClusters helperGenerateProductionCluster2(string[] readedLine)
        {
            ProductieClusters nieuw = PCL.Find(x => x.productieclusternaam == readedLine[0]);
            BeerType          bt    = beerType.Find(x => x.beerName == readedLine[1]);

            nieuw.addTypeCapacity(bt, readedLine[2]);
            return(nieuw);
        }
Exemple #2
0
        public void PCLPersonalHelper(string [] invoer, List <ProductieClusters> pcl)
        {
            ProductieClusters pl = pcl.Find(x => x.productieclusternaam == invoer[0]);

            pl.lowprodgen   = int.Parse(invoer[1]);
            pl.highprodgen  = int.Parse(invoer[2]);
            pl.lowprodspec  = int.Parse(invoer[3]);
            pl.highprodspec = int.Parse(invoer[4]);
        }