Beispiel #1
0
        private void doWork()
        {
            CuttingTask     cuttingTask = new CuttingTask();
            ClassCalculator c           = new ClassCalculator();
            Fractal         f           = new Fractal();

            byte[][] data = cuttingTask.CutTask(nbrPacket);

            for (int i = 0; i < data.Length; i++)
            {
                byte[] result = c.Calculate(data[i]);
                displayFractale1Computer(f.createFractale(i + 1, result, nbrPacket));
            }
        }
        private void doWork()
        {
            CuttingTask cuttingTask = new CuttingTask();
            ClassCalculator c = new ClassCalculator();
            Fractal f = new Fractal();
            byte[][] data = cuttingTask.CutTask(nbrPacket);

            for (int i = 0; i < data.Length; i++)
            {
                byte[] result = c.Calculate(data[i]);
                displayFractale1Computer(f.createFractale(i + 1, result, nbrPacket));
            }
        }