コード例 #1
0
ファイル: Program.cs プロジェクト: sammy0404/SMOI_App_ERP
 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();
 }