Example #1
0
        private void generarDespachoRanking(int codigoLlamado)
        {
            string sindesp = "";

            Zeus.Data.e_expedientes expediente = new Zeus.Data.e_expedientes();
            int bloque = expediente.recFechaExpediente(this.IdExpediente);

            List <int> id_carros = Zeus.Util.Despacho.rakingParaIncendio(this.IdExpediente, this.IdArea, bloque, codigoLlamado);

            var cd = new ConfirmarDespacho
            {
                IdCarros     = id_carros,
                IdExpediente = this.IdExpediente,
                IdArea       = this.IdArea
            };

            cd.lblSinDesp.Text += "\n" + sindesp;
            cd.Batallon         = 1;
            cd.ShowDialog();
        }
Example #2
0
        private void generarDespachoRanking(int codigoLlamado)
        {
            string sindesp = "";

            Zeus.Data.e_expedientes expediente = new Zeus.Data.e_expedientes();
            int bloque = expediente.recFechaExpediente(this.IdExpediente);

            //string NuevoBloque = Convert.ToString(bloque);
            //MessageBox.Show("Estado  VERDADERO...    " + NuevoBloque, "GEObit");

            List <int> id_carros = Zeus.Util.Despacho.rakingParaIncendio(this.IdExpediente, this.IdArea, bloque, codigoLlamado);

            var cd = new ConfirmarDespacho
            {
                IdCarros     = id_carros,
                IdExpediente = this.IdExpediente,
                IdArea       = this.IdArea
            };

            cd.lblSinDesp.Text += "\n" + sindesp;
            cd.Batallon         = 1;
            cd.ShowDialog();
        }