Exemplo n.º 1
0
        public Form1()
        {
            ConfigData = new ExpandoObject();
            InitializeComponent();
            ejemplo = new CardSaul();
            ejemplo.Init(ref ConfigData);
            d_PintarResultados      = new delegatePintarresultados(PintarResultados);
            ejemplo.NewResultEvent += new ResultEventHandler(ejemplo_NewResultEvent);

            ejemplo.Start();
        }
Exemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();
            ConfigData = new ExpandoObject();
            ejemplo    = new OPSaul(this);
            ejemplo.Init(ref ConfigData);
            d_PintarResultados      = new delegatePintarresultados(PintarResultados);
            ejemplo.NewResultEvent += new ResultEventHandler(ejemplo_NewResultEvent);

            ejemplo.Start();

            table.Columns.Add("XMax", typeof(double));
            table.Columns.Add("YMax", typeof(double));
            table.Columns.Add("ZMax", typeof(double));
            table.Columns.Add("XMin", typeof(double));
            table.Columns.Add("YMin", typeof(double));
            table.Columns.Add("ZMin", typeof(double));
            table.Columns.Add("DIST", typeof(double));
        }
Exemplo n.º 3
0
        delegatePintarresultados d_PintarResultados;  //puntero a la funcion de pintar


        public Form1()
        {
            try
            {
                dynamic ConfigData = new ExpandoObject();
                InitializeComponent();
                _Meplate = new Meplate();
                _Meplate.Init(ConfigData);
                _Meplate.NewResultEvent += new ResultEventHandler(_Meplate_NewResultEvent);
                d_PintarResultados       = new delegatePintarresultados(PintarResultados);


                VentanaHalconPrincipal.HalconWindow.SetLineWidth(2);
                VentanaHalconPrincipal.HalconWindow.SetLut("temperature");

                _Meplate.Start();
                timerEstado.Enabled = true;
            }
            catch (Exception e)
            {
            }
        }