Esempio n. 1
0
        static void Main()
        {
            AreaCamera aa      = new AreaCamera();
            ICapture   capture = aa;

            capture.Initial();
            capture.StartGrab();
            capture.StopGrab();
            capture.DisplayFrame();
            capture.ReportTypeofCamera();

            Console.WriteLine("/////////////////////////////////////////////////////////////////");
            Console.WriteLine();

            capture = new LineCamera();

            capture.Initial();
            capture.StartGrab();
            capture.StopGrab();
            capture.DisplayFrame();
            capture.ReportTypeofCamera();



            //Dowork   work=new Dowork(new AreaCamera());


            //Dowork work2 = new Dowork(new LineCamera());


            Console.ReadKey();
        }