Esempio n. 1
0
        private void Monitor_Load(object sender, EventArgs e)
        {   
            //Se maximiza el formulario         
            WindowState = FormWindowState.Maximized;
            this.UbicarGrillas();
            
            //Se obtiene la lista de tipos de cargue
            EnturnadorLIB.Enturnador.Lista objLista = new EnturnadorLIB.Enturnador.Lista();
            this.listaTipoCargue = objLista.GetListaTipoCargue();

            //Se inicia en 0 el indice del tipo de lista
            this.indiceLista = 0;

            //Se obtienen valores de configuracion inicial
            EnturnadorLIB.Enturnador.Configuracion objConfig = new EnturnadorLIB.Enturnador.Configuracion();
            this.cantidadLista = Convert.ToInt32(objConfig.GetValorConfig(CGlobal.CANTIDAD_LISTA));
            int tiempoLista = Convert.ToInt32(objConfig.GetValorConfig(CGlobal.TIEMPO_LISTA));
            this.paginaActual = 1;


            this.objCola = new EnturnadorLIB.Enturnador.Cola();
            this.ProcesarTickLista();
            this.timerLista.Interval = tiempoLista * 1000;
            this.timerLista.Enabled = true;                           
            //this.ProcesarTickLista();

            
            //Se cargan las noticias
            this.objNoticia = new EnturnadorLIB.Enturnador.Noticia();
            this.GetNoticias();
            this.timer1.Enabled = true;

        }
Esempio n. 2
0
        private void Monitor_Load(object sender, EventArgs e)
        {
            //Se maximiza el formulario
            WindowState = FormWindowState.Maximized;
            this.UbicarGrillas();

            //Se obtiene la lista de tipos de cargue
            EnturnadorLIB.Enturnador.Lista objLista = new EnturnadorLIB.Enturnador.Lista();
            this.listaTipoCargue = objLista.GetListaTipoCargue();

            //Se inicia en 0 el indice del tipo de lista
            this.indiceLista = 0;

            //Se obtienen valores de configuracion inicial
            EnturnadorLIB.Enturnador.Configuracion objConfig = new EnturnadorLIB.Enturnador.Configuracion();
            this.cantidadLista = Convert.ToInt32(objConfig.GetValorConfig(CGlobal.CANTIDAD_LISTA));
            int tiempoLista = Convert.ToInt32(objConfig.GetValorConfig(CGlobal.TIEMPO_LISTA));

            this.paginaActual = 1;


            this.objCola = new EnturnadorLIB.Enturnador.Cola();
            this.ProcesarTickLista();
            this.timerLista.Interval = tiempoLista * 1000;
            this.timerLista.Enabled  = true;
            //this.ProcesarTickLista();


            //Se cargan las noticias
            this.objNoticia = new EnturnadorLIB.Enturnador.Noticia();
            this.GetNoticias();
            this.timer1.Enabled = true;
        }
Esempio n. 3
0
        private void TurnoManual_Load(object sender, EventArgs e)
        {
            this.objCola = new EnturnadorLIB.Enturnador.Cola();            

            //Obtiene el id de la puerta para enturnar y para desenturnar
            EnturnadorLIB.Enturnador.Configuracion objConfig = new EnturnadorLIB.Enturnador.Configuracion();
            this.idPuertaEnturnar = CGlobal.ID_PUERTA_E1;
            this.idPuertaDesenturnar = CGlobal.ID_PUERTA_E2;
        }
Esempio n. 4
0
        private void TurnoManual_Load(object sender, EventArgs e)
        {
            this.objCola = new EnturnadorLIB.Enturnador.Cola();

            //Obtiene el id de la puerta para enturnar y para desenturnar
            EnturnadorLIB.Enturnador.Configuracion objConfig = new EnturnadorLIB.Enturnador.Configuracion();
            this.idPuertaEnturnar    = CGlobal.ID_PUERTA_E1;
            this.idPuertaDesenturnar = CGlobal.ID_PUERTA_E2;
        }
Esempio n. 5
0
 public LLRPReadControl()
 {
     tags         = new Hashtable();
     this.obJCola = new EnturnadorLIB.Enturnador.Cola();
     this.objUtil = new EnturnadorLIB.Enturnador.Util();
 }
Esempio n. 6
0
 public LLRPReadControl()
 {
     tags = new Hashtable();
     this.obJCola = new EnturnadorLIB.Enturnador.Cola();
     this.objUtil = new EnturnadorLIB.Enturnador.Util();
 }