Example #1
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(noregistro))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.NOREGISTRO, noregistro));

            ctx.setEtiquetas("EV", 9, lst);
        }
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(codpers))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.CODPERS, codpers));

            ctx.setEtiquetas("DO", 11, lst);
        }
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(emplid))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.DYNAMICS, emplid));

            ctx.setEtiquetas("PR", 36, lst);
        }
Example #4
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(convenio))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.NOMBRE, convenio));

            ctx.setEtiquetas("AF", 13, lst);
        }
Example #5
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrWhiteSpace(codpers) || correlativo.HasValue == false)
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.CODPERS, codpers));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.NOSOLICITUD, Convert.ToString(correlativo)));

            ctx.setEtiquetas("IT", 8, lst);
        }
Example #6
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (noacta.HasValue == false)
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.FECHA, Convert.ToString(fecha)));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.NOACTA, Convert.ToString(noacta) + "-" + Convert.ToString(anio.Year)));

            ctx.setEtiquetas("AC", 58, lst);
        }
Example #7
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(carrera) || string.IsNullOrEmpty(comentario))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARRERA, carrera));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.COMENTARIOS, comentario));

            ctx.setEtiquetas("DV", 50, lst);
        }
Example #8
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(carrera))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARNET, carnet));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARRERA, carrera));

            ctx.setEtiquetas("AF", 38, lst);
        }
Example #9
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (correlativo.HasValue == false)
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.FECHA, Convert.ToString(fecha)));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.CORRELATIVO, Convert.ToString(correlativo)));

            ctx.setEtiquetas("BO", 18, lst);
        }
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(nombre) || string.IsNullOrEmpty(convenio) || string.IsNullOrEmpty(facultad))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.FACULTAD, Convert.ToString(facultad)));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.NOMBRE, Convert.ToString(nombre)));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.CATEGORIA, Convert.ToString(convenio)));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.FECHA, Convert.ToString(fecha.Day) + Convert.ToString(fecha.Month) + Convert.ToString(fecha.Year)));

            ctx.setEtiquetas("CO", 17, lst);
        }
Example #11
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrWhiteSpace(fecha.ToString()))
            {
                fecha = DateTime.Today;
            }

            if (!correlativo.HasValue)
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.NORESOLUCION, Convert.ToString(fecha.Value.Year) + "-" + Convert.ToString(number[Convert.ToInt32(fecha.Value.Month) - 1]) + "-" + Convert.ToString(correlativo)));

            ctx.setEtiquetas("RS", 3, lst);
        }
Example #12
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(carrera))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Models.Etiquetas.Etiquetas> lst = new List <Models.Etiquetas.Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARNET, carnet));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARRERA, carrera));

            ctx.setEtiquetas("EX", 1, lst);

            etiquetasFill = true;
            OnPropertyChanged("IsEtiquetasFill");
            model = ctx;
        }
Example #13
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrEmpty(diploma))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARNET, carnet));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.CARRERA, carrera));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.TITULO, diploma));

            if (solicitud.HasValue)
            {
                lst.Add(new Etiquetas((short)Common.Utils.Tags.NOSOLICITUD, Convert.ToString(solicitud)));
            }

            ctx.setEtiquetas("TI", 7, lst);
        }
Example #14
0
        void LlenarEtiquetas()
        {
            EscanerDataContext ctx = (EscanerDataContext)MainPage.Current.DataContext;

            if (string.IsNullOrWhiteSpace(fecha.ToString()))
            {
                fecha = DateTime.Today;
            }

            if (!numero.HasValue || string.IsNullOrEmpty(resolucion))
            {
                ctx.ClearEtiquetas();

                return;
            }

            List <Etiquetas> lst = new List <Etiquetas>();

            lst.Add(new Etiquetas((short)Common.Utils.Tags.NORESOLUCION, Convert.ToString(resolucion)));
            lst.Add(new Etiquetas((short)Common.Utils.Tags.ADENDA, Convert.ToString(fecha.Value.Year) + "-" + Convert.ToString(numero)));


            ctx.setEtiquetas("RS", 44, lst);
        }